On 9/26/23 20:35, peter.wang@xxxxxxxxxxxx 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@xxxxxxx>