mbox series

[v2,0/6] Update Event Records to CXL spec rev 3.1

Message ID 20241022105849.1272-1-shiju.jose@huawei.com
Headers show
Series Update Event Records to CXL spec rev 3.1 | expand

Message

Shiju Jose Oct. 22, 2024, 10:58 a.m. UTC
From: Shiju Jose <shiju.jose@huawei.com>

Add updates for the changes in CXL spec rev 3.1 in the CXL events
records and CXL trace events implementation.

Notes:
1. Please apply following fix patch first if not present.
https://patchwork.kernel.org/project/cxl/patch/20241014143003.1170-1-shiju.jose@huawei.com/
2. Tested with modified CXL error injection in QEMU CXL emulation.
3. Not sure how to run kernel cxl/test for injecting events though updated.

Shiju Jose (6):
  cxl/events: Update Common Event Record to CXL spec rev 3.1
  cxl/events: Add Component Identifier formatting for CXL spec rev 3.1
  cxl/events: Update General Media Event Record to CXL spec rev 3.1
  cxl/events: Update DRAM Event Record to CXL spec rev 3.1
  cxl/events: Update Memory Module Event Record to CXL spec rev 3.1
  cxl/test: Update test code for event records to CXL spec rev 3.1

Changes:
V1 -> V2
1. Changes for the feedbacks from Jonathan.
  - Separate patch for Component Identifier formatting.
  - Moved printing of event sub type after event type.
  - For memory module event, rename sub_type to event_sub_type. 
2. Changes for the feedbacks from Alison.
  - Updated patch's subject
  - Updated CXL test code for CXL spec rev 3.1 event records.
3. Changed logic for Component Identifier formatting and other improvements.

 drivers/cxl/core/trace.h     | 240 ++++++++++++++++++++++++++++-------
 include/cxl/event.h          |  20 ++-
 tools/testing/cxl/test/mem.c |  23 +++-
 3 files changed, 233 insertions(+), 50 deletions(-)