public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] scsi: ufs: sysfs: reworking of the rpm_lvl and spm_lvl entries
@ 2018-03-01 10:48 Stanislav Nijnikov
  2018-03-01 10:48 ` Stanislav Nijnikov
  0 siblings, 1 reply; 4+ messages in thread
From: Stanislav Nijnikov @ 2018-03-01 10:48 UTC (permalink / raw)
  To: linux-scsi, linux-kernel, gregkh, subhashj
  Cc: alex.lemberg, Stanislav Nijnikov

The functions related to the rpm_lvl and spm_lvl sysfs entries were moved to
a separate file as part of UFS device management patchset. During the review
phase I was pointed that these entries implementaion could be improved.
The each file output was split to three parts:
    rmp_lvl - rpm_lvl, rpm_target_dev_state, rpm_target_link_state
    smp_lvl - spm_lvl, spm_target_dev_state, spm_target_link_state.
Each new entry has a single value output and doesn't reqire additional 
parsing.
The information about new entries and possible power management levels was
added to the corresponding ABI file.
The on-write behaviour of these entries wasn't changed.

Stanislav Nijnikov (1):
  scsi: ufs: sysfs: reworking of the rpm_lvl and spm_lvl entries

 Documentation/ABI/testing/sysfs-driver-ufs | 67 ++++++++++++++++++++++
 drivers/scsi/ufs/ufs-sysfs.c               | 92 +++++++++++++++---------------
 2 files changed, 114 insertions(+), 45 deletions(-)

-- 
2.7.4

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

end of thread, other threads:[~2018-03-22  1:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-01 10:48 [PATCH] scsi: ufs: sysfs: reworking of the rpm_lvl and spm_lvl entries Stanislav Nijnikov
2018-03-01 10:48 ` Stanislav Nijnikov
2018-03-16 14:19   ` Adrian Hunter
2018-03-22  1:23     ` 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