Linux SCSI subsystem development
 help / color / mirror / Atom feed
* [PATCH 0/7] ufs: Remove the clock gating code
@ 2026-01-16 18:26 Bart Van Assche
  2026-01-16 18:26 ` [PATCH 1/7] ufs: core: Change the type of an ufshcd_clkgate_delay_set() argument Bart Van Assche
                   ` (7 more replies)
  0 siblings, 8 replies; 16+ messages in thread
From: Bart Van Assche @ 2026-01-16 18:26 UTC (permalink / raw)
  To: Martin K . Petersen; +Cc: linux-scsi, Bart Van Assche

Hi Martin,

There is some duplicate code in the UFS driver: both the runtime power
management (RPM) code and the clock gating code switch between the same
low-power and fully-powered state. Since the RPM code is more efficient,
this patch series remove the clock gating code. This change has been
realized without modifying the driver behavior and without breaking the UFS
driver sysfs interface.

Please consider this patch series for the next merge window.

Thanks,

Bart.

Bart Van Assche (7):
  ufs: core: Change the type of an ufshcd_clkgate_delay_set() argument
  ufs: host: mediatek: Use ufshcd_clkgate_delay_set()
  ufs: core: Redirect clock gating to RPM
  ufs: core: Switch from clock gating to RPM
  ufs: core: Remove unused code and data structures
  ufs: core: Remove superfluous ufshcd_{hold,release}() calls
  ufs: core: Remove ufshcd_{hold,release}() calls from the I/O path

 drivers/ufs/core/ufs-sysfs.c    |   2 -
 drivers/ufs/core/ufs_trace.h    |  27 ---
 drivers/ufs/core/ufshcd.c       | 319 +++++---------------------------
 drivers/ufs/host/ufs-mediatek.c |   5 +-
 include/ufs/ufshcd.h            |  37 +---
 5 files changed, 48 insertions(+), 342 deletions(-)


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

end of thread, other threads:[~2026-01-26 22:27 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-16 18:26 [PATCH 0/7] ufs: Remove the clock gating code Bart Van Assche
2026-01-16 18:26 ` [PATCH 1/7] ufs: core: Change the type of an ufshcd_clkgate_delay_set() argument Bart Van Assche
2026-01-16 18:26 ` [PATCH 2/7] ufs: host: mediatek: Use ufshcd_clkgate_delay_set() Bart Van Assche
2026-01-16 18:26 ` [PATCH 3/7] ufs: core: Redirect clock gating to RPM Bart Van Assche
2026-01-17  2:05   ` kernel test robot
2026-01-17  2:16   ` kernel test robot
2026-01-16 18:26 ` [PATCH 4/7] ufs: core: Switch from " Bart Van Assche
2026-01-16 18:26 ` [PATCH 5/7] ufs: core: Remove unused code and data structures Bart Van Assche
2026-01-17  2:16   ` kernel test robot
2026-01-16 18:26 ` [PATCH 6/7] ufs: core: Remove superfluous ufshcd_{hold,release}() calls Bart Van Assche
2026-01-16 18:26 ` [PATCH 7/7] ufs: core: Remove ufshcd_{hold,release}() calls from the I/O path Bart Van Assche
2026-01-22 17:30 ` [PATCH 0/7] ufs: Remove the clock gating code Manivannan Sadhasivam
2026-01-23  7:26   ` Peter Wang (王信友)
2026-01-23 23:27     ` Bart Van Assche
2026-01-26  3:44       ` Peter Wang (王信友)
2026-01-26 22:27         ` Bart Van Assche

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