[PATCH v5 2/3] nvme: define the SMART / Health Status async event subtypes
Guixin Liu
kanie at linux.alibaba.com
Tue Nov 24 22:15:21 PST 2026
Add the asynchronous event information values of the SMART / Health
Status event type (NVMe 2.x, Figure 154) alongside the notice subtypes.
Reviewed-by: Nilay Shroff <nilay at linux.ibm.com>
Signed-off-by: Guixin Liu <kanie at linux.alibaba.com>
---
include/linux/nvme.h | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/include/linux/nvme.h b/include/linux/nvme.h
index 6248711784b37..66fcd5a160684 100644
--- a/include/linux/nvme.h
+++ b/include/linux/nvme.h
@@ -859,6 +859,12 @@ enum {
NVME_AER_ERROR_PERSIST_INT_ERR = 0x03,
};
+enum {
+ NVME_AER_SMART_RELIABILITY = 0x00,
+ NVME_AER_SMART_TEMP_THRESH = 0x01,
+ NVME_AER_SMART_SPARE_THRESH = 0x02,
+};
+
enum {
NVME_AER_NOTICE_NS_CHANGED = 0x00,
NVME_AER_NOTICE_FW_ACT_STARTING = 0x01,
--
2.43.7
More information about the Linux-nvme
mailing list