summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorShiju Jose <shiju.jose@huawei.com>2025-01-11 09:17:51 +0000
committerDave Jiang <dave.jiang@intel.com>2025-01-13 09:33:21 -0700
commit5e31e3477f1661ebbbec1cbf141f91ad3cffafc3 (patch)
tree9d481aab4250c2b63a1a68c4f6769d3dc22216a2 /include
parent2f84d072bdcb7d6ec66cc4d0de9f37a3dc394cd2 (diff)
cxl/events: Update Common Event Record to CXL spec rev 3.1
CXL spec 3.1 section 8.2.9.2.1 Table 8-42, Common Event Record format has updated with Maintenance Operation Subclass information. Add updates for the above spec change in the CXL events record and CXL common trace event implementations. Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Reviewed-by: Davidlohr Bueso <dave@stgolabs.net> Reviewed-by: Ira Weiny <ira.weiny@intel.com> Signed-off-by: Shiju Jose <shiju.jose@huawei.com> Reviewed-by: Fan Ni <fan.ni@samsung.com> Link: https://patch.msgid.link/20250111091756.1682-2-shiju.jose@huawei.com Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Diffstat (limited to 'include')
-rw-r--r--include/cxl/event.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/cxl/event.h b/include/cxl/event.h
index 0bea1afbd747..e1d485ad376b 100644
--- a/include/cxl/event.h
+++ b/include/cxl/event.h
@@ -18,7 +18,8 @@ struct cxl_event_record_hdr {
__le16 related_handle;
__le64 timestamp;
u8 maint_op_class;
- u8 reserved[15];
+ u8 maint_op_sub_class;
+ u8 reserved[14];
} __packed;
struct cxl_event_media_hdr {