[PATCH v1 0/9] ufs: sysfs: read-only access to device descriptors, attributes and flags

2017-12-25 Thread Stanislav Nijnikov
This patch introduces sysfs entries that will provide read-only access to device management data that could be received with UFS query requests. User-space applications will be able to read UFS device descriptors, flags and attributes. This will allow to get full UFS device configuration and its st

[PATCH v1 9/9] ufs: sysfs: attributes

2017-12-25 Thread Stanislav Nijnikov
Signed-off-by: Stanislav Nijnikov --- Documentation/ABI/testing/sysfs-driver-ufs | 141 - drivers/scsi/ufs/ufs-sysfs.c | 89 ++ drivers/scsi/ufs/ufs-sysfs.h | 1 + drivers/scsi/ufs/ufs.h | 27 +- d

[PATCH v1 2/9] ufs: sysfs: interconnect descriptor

2017-12-25 Thread Stanislav Nijnikov
Signed-off-by: Stanislav Nijnikov --- Documentation/ABI/testing/sysfs-driver-ufs | 19 +++ drivers/scsi/ufs/ufs-sysfs.c | 18 ++ drivers/scsi/ufs/ufs.h | 8 3 files changed, 45 insertions(+) diff --git a/Documentation/AB

[PATCH v1 1/9] ufs: sysfs: device descriptor

2017-12-25 Thread Stanislav Nijnikov
Signed-off-by: Stanislav Nijnikov --- Documentation/ABI/testing/sysfs-driver-ufs | 223 + drivers/scsi/ufs/Makefile | 2 +- drivers/scsi/ufs/ufs-sysfs.c | 154 drivers/scsi/ufs/ufs-sysfs.h | 10 ++ dr

[PATCH v1 8/9] ufs: sysfs: flags

2017-12-25 Thread Stanislav Nijnikov
Signed-off-by: Stanislav Nijnikov --- Documentation/ABI/testing/sysfs-driver-ufs | 65 ++ drivers/scsi/ufs/ufs-sysfs.c | 42 +++ drivers/scsi/ufs/ufs.h | 14 +-- 3 files changed, 118 insertions(+), 3 deletions(-) d

[PATCH v1 4/9] ufs: sysfs: health descriptor

2017-12-25 Thread Stanislav Nijnikov
Signed-off-by: Stanislav Nijnikov --- Documentation/ABI/testing/sysfs-driver-ufs | 28 drivers/scsi/ufs/ufs-sysfs.c | 20 drivers/scsi/ufs/ufs.h | 11 +++ drivers/scsi/ufs/ufshcd.c | 8 ++

[PATCH v1 6/9] ufs: sysfs: string descriptors

2017-12-25 Thread Stanislav Nijnikov
Signed-off-by: Stanislav Nijnikov --- Documentation/ABI/testing/sysfs-driver-ufs | 39 drivers/scsi/ufs/ufs-sysfs.c | 58 ++ drivers/scsi/ufs/ufshcd.c | 4 +-- drivers/scsi/ufs/ufshcd.h | 3 ++ 4 fi

[PATCH v1 5/9] ufs: sysfs: power descriptor

2017-12-25 Thread Stanislav Nijnikov
Signed-off-by: Stanislav Nijnikov --- Documentation/ABI/testing/sysfs-driver-ufs | 10 +++ drivers/scsi/ufs/ufs-sysfs.c | 121 + 2 files changed, 131 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-driver-ufs b/Documentation/ABI/testing/sysf

[PATCH v1 7/9] ufs: sysfs: unit descriptor

2017-12-25 Thread Stanislav Nijnikov
In addition the patch presents an additional field in the scsi_host_template structure - struct attribute_group **sdev_group. This field allows to define groups of attributes. It will provide an ability to use binary attributes in addition to device attributes and to group them under subfolders if

[PATCH v1 3/9] ufs: sysfs: geometry descriptor

2017-12-25 Thread Stanislav Nijnikov
Signed-off-by: Stanislav Nijnikov --- Documentation/ABI/testing/sysfs-driver-ufs | 175 - drivers/scsi/ufs/ufs-sysfs.c | 84 ++ drivers/scsi/ufs/ufs.h | 36 ++ 3 files changed, 294 insertions(+), 1 deletion(-) diff -

Re: SSD being put to sleep during boot-up when laptop on battery

2017-12-25 Thread Alan Stern
On Sun, 24 Dec 2017, Adam Bennett wrote: > Alan, > > I have a Dell Precision 7520 with an Samsung SSD in addition to an NVMe > drive.  I'm currently running 4.14.8 but have seen the below problem > since I moved from 4.9 to 4.13. > > When I boot without AC plugged in, the SSD is stopped almost

Re: st driver doesn't seem to grok LTO partitioning (LTO-5 firmware upgrade)

2017-12-25 Thread Jérôme Carretero
Hi, This is just to state that I used the SAS LTO firmware upgrade method Douglas suggested (1 year ago) and it worked fine, upgrading an HPE LTO-5 Ultrium 3000 internal SAS tape drive from a .frm / .E file. Best regards, -- Jérôme PS: It took me a while to find a way to get the latest firmw

Re: [PATCH v1 1/9] ufs: sysfs: device descriptor

2017-12-25 Thread kbuild test robot
Hi Stanislav, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on scsi/for-next] [also build test WARNING on v4.15-rc5 next-20171222] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0da

Re: [PATCH v1 1/9] ufs: sysfs: device descriptor

2017-12-25 Thread kbuild test robot
Hi Stanislav, Thank you for the patch! Yet something to improve: [auto build test ERROR on scsi/for-next] [also build test ERROR on v4.15-rc5 next-20171222] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/lin

Re: [PATCH v1 6/9] ufs: sysfs: string descriptors

2017-12-25 Thread kbuild test robot
Hi Stanislav, Thank you for the patch! Yet something to improve: [auto build test ERROR on scsi/for-next] [also build test ERROR on v4.15-rc5 next-20171222] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/lin