Thread (6 messages) 6 messages, 3 authors, 2021-01-23

Re: [PATCH v11 0/3] Three changes related with UFS clock scaling

From: "Martin K. Petersen" <martin.petersen@oracle.com>
Date: 2021-01-23 04:23:24

On Wed, 20 Jan 2021 02:04:20 -0800, Can Guo wrote:
This series is made based on 5.12/scsi-queue branch.

Current devfreq framework allows sysfs nodes like governor, min_freq and max_freq to be changed even after devfreq device is suspended.
Meanwhile, devfreq_suspend_device() cannot/wouldn't synchronize clock scaling which has already been invoked through devfreq sysfs nodes menitioned above.
It means that clock scaling invoked through these devfreq sysfs nodes can happen at any time regardless of the state of UFS host and/or device.
We need to control and synchronize clock scaling in this scenario.

[...]
Applied to 5.12/scsi-queue, thanks!

[1/3] scsi: ufs: Protect some contexts from unexpected clock scaling
      https://git.kernel.org/mkp/scsi/c/0e9d4ca43ba8
[2/3] scsi: ufs: Refactor ufshcd_init/exit_clk_scaling/gating()
      https://git.kernel.org/mkp/scsi/c/4543d9d78227
[3/3] scsi: ufs: Revert "Make sure clk scaling happens only when HBA is runtime ACTIVE"
      https://git.kernel.org/mkp/scsi/c/b02d51afca00

-- 
Martin K. Petersen	Oracle Linux Engineering
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help