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

Bart Van Assche bvanassche at acm.org
Thu Sep 28 09:30:49 PDT 2023


On 9/26/23 20:35, peter.wang at mediatek.com wrote:
> 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.

Reviewed-by: Bart Van Assche <bvanassche at acm.org>



More information about the Linux-mediatek mailing list