lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <67816b0c869df_177894294f2@iweiny-mobl.notmuch>
Date: Fri, 10 Jan 2025 12:46:36 -0600
From: Ira Weiny <ira.weiny@...el.com>
To: <shiju.jose@...wei.com>, <dave.jiang@...el.com>,
	<dan.j.williams@...el.com>, <jonathan.cameron@...wei.com>,
	<alison.schofield@...el.com>, <nifan.cxl@...il.com>,
	<vishal.l.verma@...el.com>, <ira.weiny@...el.com>, <dave@...olabs.net>,
	<linux-cxl@...r.kernel.org>
CC: <linux-kernel@...r.kernel.org>, <linuxarm@...wei.com>,
	<tanxiaofei@...wei.com>, <prime.zeng@...ilicon.com>, <shiju.jose@...wei.com>
Subject: Re: [PATCH v5 5/6] cxl/events: Update Memory Module Event Record to
 CXL spec rev 3.1

shiju.jose@ wrote:
> From: Shiju Jose <shiju.jose@...wei.com>
> 

[snip]

> @@ -724,6 +752,7 @@ TRACE_EVENT(cxl_memory_module,
>  
>  		/* Memory Module Event */
>  		__field(u8, event_type)
> +		__field(u8, event_sub_type)
>  
>  		/* Device Health Info */
>  		__field(u8, health_status)
> @@ -734,6 +763,8 @@ TRACE_EVENT(cxl_memory_module,
>  		__field(u32, cor_per_err_cnt)
>  		__field(s16, device_temp)
>  		__field(u8, add_status)
> +		__field(u16, validity_flags)
> +		__array(u8, comp_id, CXL_EVENT_GEN_MED_COMP_ID_SIZE)
>  	),


With the change of the packing of the record.

Reviewed-by: Ira Weiny <ira.weiny@...el.com>


diff --git a/drivers/cxl/core/trace.h b/drivers/cxl/core/trace.h
index cfb8de6f9739..5989e5f9f38d 100644
--- a/drivers/cxl/core/trace.h
+++ b/drivers/cxl/core/trace.h
@@ -753,7 +753,6 @@ TRACE_EVENT(cxl_memory_module,
 
                /* Memory Module Event */
                __field(u8, event_type)
-               __field(u8, event_sub_type)
 
                /* Device Health Info */
                __field(u8, health_status)
@@ -764,8 +763,9 @@ TRACE_EVENT(cxl_memory_module,
                __field(u32, cor_per_err_cnt)
                __field(s16, device_temp)
                __field(u8, add_status)
-               __field(u16, validity_flags)
+               __field(u8, event_sub_type)
                __array(u8, comp_id, CXL_EVENT_GEN_MED_COMP_ID_SIZE)
+               __field(u16, validity_flags)
        ),
 
        TP_fast_assign(

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ