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

From: Adrian Hunter
Date: Mon Mar 19 2018 - 04:02:27 EST


Hi

Here is V2, 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 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