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

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