Linux ARM-MSM sub-architecture
 help / color / mirror / Atom feed
* [PATCH V2 0/2] Suspend clk scaling when there is no request
@ 2024-06-27  8:37 Ram Prakash Gupta
  2024-06-27  8:37 ` [PATCH v2 1/2] scsi: ufs: Suspend clk scaling on " Ram Prakash Gupta
                   ` (5 more replies)
  0 siblings, 6 replies; 10+ messages in thread
From: Ram Prakash Gupta @ 2024-06-27  8:37 UTC (permalink / raw)
  To: James E.J. Bottomley, Martin K. Petersen, Manivannan Sadhasivam
  Cc: Alim Akhtar, Avri Altman, Bart Van Assche, linux-scsi,
	linux-kernel, linux-arm-msm, quic_cang, quic_nguyenb,
	quic_rampraka, quic_pragalla, quic_nitirawa

Currently ufs clk scaling is getting suspended only when the
clks are scaled down, but next when high load is generated its
adding a huge amount of latency in scaling up the clk and complete
the request post that.

Now if the scaling is suspended in its existing state, and when high
load is generated it is helping improve the random performance KPI by
28%. So suspending the scaling when there is no request. And the clk
would be put in low scaled state when the actual request load is low.

Making this change as optional for other vendor by having the check
enabled using vops as for some vendor suspending without bringing the
clk in low scaled state might have impact on power consumption on the
SoC.

Changes since V1:
	- Address minor review comment.

Ram Prakash Gupta (2):
  scsi: ufs: Suspend clk scaling on no request
  scsi: ufs: qcom: Enable suspending clk scaling on no request

 drivers/ufs/core/ufshcd.c   | 3 ++-
 drivers/ufs/host/ufs-qcom.c | 2 ++
 include/ufs/ufshcd.h        | 1 +
 3 files changed, 5 insertions(+), 1 deletion(-)

-- 
2.17.1


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2024-07-11  3:09 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-27  8:37 [PATCH V2 0/2] Suspend clk scaling when there is no request Ram Prakash Gupta
2024-06-27  8:37 ` [PATCH v2 1/2] scsi: ufs: Suspend clk scaling on " Ram Prakash Gupta
2024-06-27 16:35   ` Bart Van Assche
2024-06-27 16:59     ` Ram Prakash Gupta
2024-06-27  8:37 ` [PATCH v2 2/2] scsi: ufs: qcom: Enable suspending " Ram Prakash Gupta
2024-06-27 16:36 ` [PATCH V2 0/2] Suspend clk scaling when there is " Bart Van Assche
2024-06-27 17:06   ` Ram Prakash Gupta
2024-06-28 19:34 ` Bart Van Assche
2024-07-05  2:48 ` Martin K. Petersen
2024-07-11  3:08 ` Martin K. Petersen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox