Re: [External Mail]Re: [PATCH] ufs: core: fix bus timeout in ufshcd_wl_resume flow
From: 章辉
Date: Thu Aug 15 2024 - 09:15:04 EST
On 2024/8/14 14:39, Peter Wang (王信友) wrote:
> On Tue, 2024-08-13 at 21:47 +0800, ZhangHui wrote:
>> From: zhanghui <zhanghui31@xxxxxxxxxx>
>>
>> If the SSU CMD completion flow in UFS resume and the CMD timeout flow
>> occur
>> simultaneously, the timestamp attribute command will be sent to the
>> device
>>
> Hi Zhanghui,
>
> If the timeout command is SSU?
> In resume flow, if SSU command timeout, ufshcd_eh_host_reset_handler
> invoke ufshcd_link_recovery only, not schedule eh work?
>
>
> Thanks.
> Peter
hi Peter G,
ufshcd_link_recovery calls ufshcd_host_reset_and_restore to power
cycle
and reset the host controller.
Thanks
Zhanghui