]> www.infradead.org Git - users/jedix/linux-maple.git/commit
NVMe: Add nvme subsystem reset IOCTL
authorJon Derrick <jonathan.derrick@intel.com>
Mon, 10 Aug 2015 21:20:41 +0000 (15:20 -0600)
committerChuck Anderson <chuck.anderson@oracle.com>
Wed, 6 Jul 2016 23:31:52 +0000 (16:31 -0700)
commit0badf2518d09586d74e9e556c498ed5a304e5f55
tree40888f3f45108564e7b9e8fd9b5cad4dc80b2158
parent6914f1a03c7b22c76a9e95b3f7891d89d5930a9d
NVMe: Add nvme subsystem reset IOCTL

Controllers can perform optional subsystem resets as introduced in NVMe
1.1. This patch adds an IOCTL to trigger the subsystem reset by writing
"NVMe" to the NSSR register.

Signed-off-by: Jon Derrick <jonathan.derrick@intel.com>
Acked-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
(cherry picked from commit 81f03fedcce7ee7e83c37237ecaa2f68aad236fd)

Orabug: 22620486
Signed-off-by: Jason Luo <zhangqing.luo@oracle.com>
drivers/block/nvme-core.c
include/linux/nvme.h
include/uapi/linux/nvme.h