Re: [PATCH v4 0/2] Fixes for UFS clock gating initialization
From: Martin K. Petersen
Date: Mon Feb 03 2025 - 22:34:14 EST
On Tue, 28 Jan 2025 09:12:05 +0200, Avri Altman wrote:
> Martin hi,
>
> This patch series addresses two issues related to the UFS clock gating
> mechanism. The first patch ensures that the `clk_gating.lock` is used
> only after it has been properly initialized.
>
> The second patch fixes an issue where `clk_gating.state` is toggled even
> if clock gating is not allowed, which can lead to crashes.
>
> [...]
Applied to 6.14/scsi-fixes, thanks!
[1/2] scsi: ufs: core: Ensure clk_gating.lock is used only after initialization
https://git.kernel.org/mkp/scsi/c/3d4114a1d344
[2/2] scsi: ufs: Fix toggling of clk_gating.state when clock gating is not allowed
https://git.kernel.org/mkp/scsi/c/839a74b5649c
--
Martin K. Petersen Oracle Linux Engineering