[PATCH 5/5] nvme-cli: Add support Telemetry CRT in PEL

wenxiong at linux.ibm.com wenxiong at linux.ibm.com
Wed Nov 17 08:04:48 PST 2021


From: Wen Xiong <wenxiong at linux.ibm.com>

Add "Telemetry CRT" event in PEL.

Signed-off-by: Wen Xiong <wenxiong at linux.ibm.com>
---
 nvme-print.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/nvme-print.c b/nvme-print.c
index 994ef01..2880b81 100644
--- a/nvme-print.c
+++ b/nvme-print.c
@@ -1704,6 +1704,9 @@ void nvme_show_persistent_event_log(void *pevent_log_info,
 
 			nvme_feature_show_fields(fid, cdw11, mem_buf);
 			break;
+		case NVME_PEL_TELEMETRY_CRT:
+			d(pevent_log_info + offset, 512, 16, 1);
+			break;
 		case NVME_PEL_THERMAL_EXCURSION_EVENT:
 			thermal_exc_event = pevent_log_info + offset;
 			printf("Thermal Excursion Event Entry: \n");
-- 
2.27.0




More information about the Linux-nvme mailing list