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

wenxiong at linux.ibm.com wenxiong at linux.ibm.com
Thu Nov 18 08:57:28 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 8d7ecee..0de5a8b 100644
--- a/nvme-print.c
+++ b/nvme-print.c
@@ -1712,6 +1712,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