From: Michał Potomski <michalx.potomski@xxxxxxxxx> This patchset implements new SysFS attribute to handle Auto-Hibern8 feature and additionally rewrites present attributes to adhere to new standard. Changes in V3: - rewrite new and present attributes to adhere to DEVICE_ATTR_RW/RO and sdev_attr host template member policy - read/write from/to auto-hibern8 attribute will return -EOPNOTSUPP, when host has no such capability, intead of attribute not being created Changes in V2: - minor formatting/style changes Michał Potomski (2): scsi: ufs: Use DEVICE_ATTR_RW macros and sdev_attrs structure scsi: ufs: Implement Auto-Hibern8 setup Documentation/ABI/testing/sysfs-driver-scsi-ufs | 8 + drivers/scsi/ufs/ufshcd.c | 310 ++++++++++++++---------- drivers/scsi/ufs/ufshci.h | 23 +- 3 files changed, 208 insertions(+), 133 deletions(-) create mode 100644 Documentation/ABI/testing/sysfs-driver-scsi-ufs -- 2.13.0.67.g10c78a1 -------------------------------------------------------------------- Intel Technology Poland sp. z o.o. ul. Slowackiego 173 | 80-298 Gdansk | Sad Rejonowy Gdansk Polnoc | VII Wydzial Gospodarczy Krajowego Rejestru Sadowego - KRS 101882 | NIP 957-07-52-316 | Kapital zakladowy 200.000 PLN. Ta wiadomosc wraz z zalacznikami jest przeznaczona dla okreslonego adresata i moze zawierac informacje poufne. W razie przypadkowego otrzymania tej wiadomosci, prosimy o powiadomienie nadawcy oraz trwale jej usuniecie; jakiekolwiek przegladanie lub rozpowszechnianie jest zabronione. This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). If you are not the intended recipient, please contact the sender and delete all copies; any review or distribution by others is strictly prohibited.