Re: [PATCH] scsi: ufs: core: Fix a deadlock between clock scaling and device commands

From: Martin K. Petersen

Date: Fri Oct 23 2026 - 22:42:40 EST



Joonhoe,

> Since commit 08b12cda6c44 ("scsi: ufs: core: Switch to
> scsi_get_internal_cmd()"), device management commands go through
> blk_execute_rq() on the pseudo SCSI device, which shares the tagset
> with the logical units, while ufshcd_dev_man_lock() holds
> clk_scaling_lock for reading.

Applied to 7.4/scsi-staging, thanks!

--
Martin K. Petersen