Re: [PATCH v2] scsi: ufs: Fix deadlock issue in ufshcd_wait_for_doorbell_clr()

From: Martin K. Petersen
Date: Thu Dec 23 2021 - 00:09:46 EST


On Tue, 14 Dec 2021 13:05:37 +0100, Bean Huo wrote:

> From: Bean Huo <beanhuo@xxxxxxxxxx>
>
> 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-queue, thanks!

[1/1] scsi: ufs: Fix deadlock issue in ufshcd_wait_for_doorbell_clr()
https://git.kernel.org/mkp/scsi/c/99c66a8868e3

--
Martin K. Petersen Oracle Linux Engineering