Linux SCSI subsystem development
 help / color / mirror / Atom feed
* [PATCH 0/1] scsi: ufs: core: Apply PM QoS vote whenever the UFS clocks are on
@ 2026-12-02  9:46 Manish Pandey
  2026-12-02  9:46 ` [PATCH 1/1] " Manish Pandey
  0 siblings, 1 reply; 3+ messages in thread
From: Manish Pandey @ 2026-12-02  9:46 UTC (permalink / raw)
  To: James E.J. Bottomley, Martin K. Petersen
  Cc: Alim Akhtar, Bart Van Assche, Bean Huo, Stanley Jhu, linux-scsi,
	quic_nitirawa

ufshcd_setup_clocks() applied the PM QoS vote only when clock scaling was
not supported, relying on ufshcd_scale_clks() otherwise. Since that path
only updates the vote while scaling up or down, on clock-scaling capable
controllers the vote is not held for the whole time the controller is
active. The CPUs can then enter deep idle while a request is still
outstanding, which delays the completion interrupt and can lead to command
timeouts.

This patch applies the PM QoS vote whenever the clocks are on and releases
it when they are gated off, regardless of clock scaling support.

Manish Pandey (1):
  scsi: ufs: core: Apply PM QoS vote whenever the UFS clocks are on

 drivers/ufs/core/ufshcd.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2026-12-02 10:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-02  9:46 [PATCH 0/1] scsi: ufs: core: Apply PM QoS vote whenever the UFS clocks are on Manish Pandey
2026-12-02  9:46 ` [PATCH 1/1] " Manish Pandey
2026-12-02 10:01   ` sashiko-bot

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