[PATCH v5] ufs: core: wlun send SSU timeout recovery

Stanley Chu chu.stanley at gmail.com
Fri Sep 29 07:14:38 PDT 2023


On Wed, Sep 27, 2023 at 1:43 PM <peter.wang at mediatek.com> wrote:
>
> From: Peter Wang <peter.wang at mediatek.com>
>
> When runtime pm send SSU times out, the SCSI core invokes
> eh_host_reset_handler, which hooks function ufshcd_eh_host_reset_handler
> schedule eh_work and stuck at wait flush_work(&hba->eh_work).
> However, ufshcd_err_handler hangs in wait rpm resume.
> Do link recovery only in this case.
> Below is IO hang stack dump in kernel-6.1

Reviewed-by: Stanley Chu <stanley.chu at mediatek.com>



More information about the Linux-mediatek mailing list