Blame SOURCES/0009-Add-new-events-support-in-PEL.patch

35de48
From f491884513bfba7bb007428e4664c2dfda21d424 Mon Sep 17 00:00:00 2001
35de48
From: Maurizio Lombardi <mlombard@redhat.com>
35de48
Date: Wed, 29 Jun 2022 17:33:10 +0200
35de48
Subject: [PATCH 2/7] Add new events support in PEL
35de48
35de48
Add two new events support in header file.
35de48
35de48
Signed-off-by: Maurizio Lombardi <mlombard@redhat.com>
35de48
---
35de48
 linux/nvme.h | 8 ++++++++
35de48
 1 file changed, 8 insertions(+)
35de48
35de48
diff --git a/linux/nvme.h b/linux/nvme.h
35de48
index 7a925c7a..8b4c6833 100644
35de48
--- a/linux/nvme.h
35de48
+++ b/linux/nvme.h
35de48
@@ -862,6 +862,12 @@ struct nvme_thermal_exc_event {
35de48
     __u8 	threshold;
35de48
 };
35de48
 
35de48
+/* persistent event type 0Bh */
35de48
+struct nvme_set_feature_event {
35de48
+	__le32	layout;
35de48
+	__le32	cdw_mem[0];
35de48
+};
35de48
+
35de48
 /* persistent event entry head */
35de48
 struct nvme_persistent_event_entry_head {
35de48
 	__u8	etype;
35de48
@@ -909,6 +915,8 @@ enum nvme_persistent_event_types {
35de48
     NVME_FORMAT_COMPLETION_EVENT    = 0x08,
35de48
     NVME_SANITIZE_START_EVENT       = 0x09,
35de48
     NVME_SANITIZE_COMPLETION_EVENT  = 0x0a,
35de48
+    NVME_SET_FEATURE_EVENT	    = 0x0b,
35de48
+    NVME_TELEMETRY_CRT		    = 0x0c,
35de48
     NVME_THERMAL_EXCURSION_EVENT    = 0x0d
35de48
 };
35de48
 
35de48
-- 
35de48
2.31.1
35de48