Skip to content

scsi: ufs: Add support for Auto-Hibernate Idle Timer

Adrian Hunter linux-scsi lkml 3 versions – Applied

Status from this message: Applied to 4.17/scsi-queue. Thank you!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest1 patch 2 repliesApplied
  2. v21 patch 2 repliesSuperseded
  3. v11 patch 3 repliesSuperseded

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/1scsi: ufs: Add support for Auto-Hibernate Idle TimerDocumentation/ABI/testing/sysfs-driver-ufs drivers/scsi/ufs/ufs-sysfs.c drivers/scsi/ufs/ufshcd.c +2 more+126 -01 reply

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by.

PatchStanislav Nijnikov
1/1A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH V3 0/1] scsi: ufs: Add support for Auto-Hibernate Idle Timer

Hi

Here is V3, now re-based on top of patch "scsi: ufs: sysfs:reworking of the rpm_lvl and spm_lvl entries".

Michał Potomski has previously sent a patch for Auto-Hibernate, but this patch is slightly different, based on the latest ufs-sysfs changes, it also takes care to restore auto-hibernate during resume, and otherwise avoids updating the register if the device is runtime suspended. Also a default value of 150ms is set.

Changes in V3:

Return -EOPNOTSUPP from auto_hibern8_show() if Auto-Hibernate is not supported.

Changes in V2:

Re-based on top of (yet to be applied) patch "scsi: ufs: sysfs:
reworking of the rpm_lvl and spm_lvl entries"

Adrian Hunter (1):
scsi: ufs: Add support for Auto-Hibernate Idle Timer

 Documentation/ABI/testing/sysfs-driver-ufs | 15 ++++++
 drivers/scsi/ufs/ufs-sysfs.c               | 77 ++++++++++++++++++++++++++++++
 drivers/scsi/ufs/ufshcd.c                  | 26 ++++++++++
 drivers/scsi/ufs/ufshcd.h                  |  3 ++
 drivers/scsi/ufs/ufshci.h                  |  7 +++
 5 files changed, 128 insertions(+)

Regards
Adrian