Messages in this thread |  | | From | "Martin K. Petersen" <> | | Subject | Re: [PATCH v2] scsi: ufs: core: fix devfreq deadlocks | | Date | Wed, 18 Jan 2023 19:21:28 -0500 |
| |
On Mon, 16 Jan 2023 17:12:01 +0100, Johan Hovold wrote:
> There is a lock inversion and rwsem read-lock recursion in the devfreq > target callback which can lead to deadlocks. > > Specifically, ufshcd_devfreq_scale() already holds a clk_scaling_lock > read lock when toggling the write booster, which involves taking the > dev_cmd mutex before taking another clk_scaling_lock read lock. > > [...]
Applied to 6.2/scsi-fixes, thanks!
[1/1] scsi: ufs: core: fix devfreq deadlocks https://git.kernel.org/mkp/scsi/c/ba81043753ff
-- Martin K. Petersen Oracle Linux Engineering
|  |