[PATCH] nvme: add temperature threshold hysteresis feature field definition
Tokunori Ikegami
ikegami.t at gmail.com
Tue Nov 5 06:55:36 PST 2024
The definition TMPTHH field supported by NVMe 2.1.
Signed-off-by: Tokunori Ikegami <ikegami.t at gmail.com>
---
include/linux/nvme.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/linux/nvme.h b/include/linux/nvme.h
index b58d9405d65e..68c60b0b177f 100644
--- a/include/linux/nvme.h
+++ b/include/linux/nvme.h
@@ -1121,6 +1121,8 @@ enum {
NVME_TEMP_THRESH_MASK = 0xffff,
NVME_TEMP_THRESH_SELECT_SHIFT = 16,
NVME_TEMP_THRESH_TYPE_UNDER = 0x100000,
+ NVME_TEMP_THRESH_HYST_SHIFT = 22,
+ NVME_TEMP_THRESH_HYST_MASK = 0x7,
};
struct nvme_feat_auto_pst {
--
2.45.2
More information about the Linux-nvme
mailing list