]> www.infradead.org Git - users/mchehab/rasdaemon.git/commit
rasdaemon: ras-mc-ctl: Update logging of CXL general media event data to align with...
authorShiju Jose <shiju.jose@huawei.com>
Fri, 8 Nov 2024 18:06:42 +0000 (18:06 +0000)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 10 Mar 2025 10:24:18 +0000 (11:24 +0100)
commit70b6ebdd64accd7264c3c6235a5c60fda9f0e7a5
tree1126bad69a77860de8e10c0f9a536264743060cc
parent3fa6a6f625f6cde6966faddeedd622926a2cc8b6
rasdaemon: ras-mc-ctl: Update logging of CXL general media event data to align with CXL spec rev 3.1

CXL spec rev 3.1 section 8.2.9.2.1.1 Table 8-45, General Media Event
Record has updated with following new fields and new types for Memory
Event Type and Transaction Type fields.
1. Advanced Programmable Corrected Memory Error Threshold Event Flags
2. Corrected Memory Error Count at Event
3. Memory Event Sub-Type

The format of component identifier has changed (CXL spec 3.1 section
8.2.9.2.1 Table 8-44).

This update modifies ras-mc-ctl to parse and log CXL general media event
data stored in the RAS SQLite database table, reflecting the specification
changes introduced in revision 3.1.

Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Shiju Jose <shiju.jose@huawei.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
util/ras-mc-ctl.in