History

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.

Jon Derrick committed 11 years ago

Commit 81f03fe1 parent dfbac8c3 files · +13 −1Browse files

Showing the changes to include/uapi (1 of 3 files). Show all

Unified · Split

include/uapi/linux/nvme.h+1−0
@@ -584,5 +584,6 @@ struct nvme_passthru_cmd { · 583 unmodified lines
584584 #define NVME_IOCTL_SUBMIT_IO _IOW('N', 0x42, struct nvme_user_io)
585585 #define NVME_IOCTL_IO_CMD _IOWR('N', 0x43, struct nvme_passthru_cmd)
586586 #define NVME_IOCTL_RESET _IO('N', 0x44)
587+#define NVME_IOCTL_SUBSYS_RESET _IO('N', 0x45)
587588
588589 #endif /* _UAPI_LINUX_NVME_H */