Skip to content
Commit 53ab8678 authored by Shiju Jose's avatar Shiju Jose Committed by Ira Weiny
Browse files

cxl/events: Fix Trace DRAM Event Record



CXL spec rev 3.0 section 8.2.9.2.1.2 defines the DRAM Event Record.

Fix decode memory event type field of DRAM Event Record.
For e.g. if value is 0x1 it will be reported as an Invalid Address
(General Media Event Record - Memory Event Type) instead of Scrub Media
ECC Error (DRAM Event Record - Memory Event Type) and so on.

Fixes: 2d6c1e6d ("cxl/mem: Trace DRAM Event Record")
Signed-off-by: Shiju Jose's avatarShiju Jose <shiju.jose@huawei.com>
Link: https://patch.msgid.link/20241014143003.1170-1-shiju.jose@huawei.com


Signed-off-by: default avatarIra Weiny <ira.weiny@intel.com>
parent cce3cd64
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment