diff options
author | Jon Derrick <jonathan.derrick@intel.com> | 2015-08-11 00:20:41 +0300 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2015-08-18 20:56:13 +0300 |
commit | 81f03fedcce7ee7e83c37237ecaa2f68aad236fd (patch) | |
tree | 1ed0c5082931cebb9a0624fbec86f8bd1dfb5e38 /include/linux/nvme.h | |
parent | dfbac8c7ac5f58448b2216fe42ff52aaf175421d (diff) | |
download | linux-81f03fedcce7ee7e83c37237ecaa2f68aad236fd.tar.xz |
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>
Diffstat (limited to 'include/linux/nvme.h')
-rw-r--r-- | include/linux/nvme.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/nvme.h b/include/linux/nvme.h index d6b5600cfa47..b5812c395351 100644 --- a/include/linux/nvme.h +++ b/include/linux/nvme.h @@ -28,7 +28,7 @@ struct nvme_bar { __u32 cc; /* Controller Configuration */ __u32 rsvd1; /* Reserved */ __u32 csts; /* Controller Status */ - __u32 rsvd2; /* Reserved */ + __u32 nssr; /* Subsystem Reset */ __u32 aqa; /* Admin Queue Attributes */ __u64 asq; /* Admin SQ Base Address */ __u64 acq; /* Admin CQ Base Address */ |