]> www.infradead.org Git - users/jedix/linux-maple.git/commit
NVMe: Export NVMe attributes to sysfs group
authorKeith Busch <keith.busch@intel.com>
Tue, 12 Jan 2016 22:09:31 +0000 (15:09 -0700)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 1 Jun 2017 20:40:56 +0000 (13:40 -0700)
commit620ca4a765ab170a2cc32e1b612ba34cd98a157f
tree7637b7e0ba58bc0c637a5ec5194247abef69fe16
parentbaee8c128ab2f4496364024dd2a3545cef741553
NVMe: Export NVMe attributes to sysfs group

Adds all controller information to attribute list exposed to sysfs, and
appends the reset_controller attribute to it. The nvme device is created
with this attribute list, so driver no long manages its attributes.

Reported-by: Sujith Pandel <sujithpshankar@gmail.com>
Cc: Sujith Pandel <sujithpshankar@ gmail.com>
Cc: David Milburn <dmilburn@redhat.com>
Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
(cherry picked from commit 779ff75617099f4defe14e20443b95019a4c5ae8)

Orabug: 25130845

Signed-off-by: Ashok Vairavan <ashok.vairavan@oracle.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/nvme/host/core.c