Bean, > Call shost_for_each_device() with holding host->host_lock will cause a > deadlock situation, which will cause the system to stall (the log as > follow). Fix this issue by using __shost_for_each_device() in > ufshcd_pending_cmds(). Applied to 5.17/scsi-staging, thanks! -- Martin K. Petersen Oracle Linux Engineering