diff options
author | Ira Weiny <[email protected]> | 2023-12-20 16:17:34 -0800 |
---|---|---|
committer | Dan Williams <[email protected]> | 2024-01-09 15:41:23 -0800 |
commit | 671a794c33c6e048ca5cedd5ad6af44d52d5d7e5 (patch) | |
tree | 816febc7c9bea829769288c2dbb067579520c1d6 /scripts/gdb/linux/utils.py | |
parent | f9c683386f5bc0364615138ce2b14be50848dbcf (diff) |
acpi/ghes: Process CXL Component Events
BIOS can configure memory devices as firmware first. This will send CXL
events to the firmware instead of the OS. The firmware can then send
these events to the OS via UEFI.
UEFI v2.10 section N.2.14 defines a Common Platform Error Record (CPER)
format for CXL Component Events. The format is mostly the same as the
CXL Common Event Record Format. The difference is the use of a GUID in
the Section Type rather than a UUID as part of the event itself.
Add GHES support to detect CXL CPER records and call a registered
callback with the event.
A notifier chain was considered for the callback but the complexity did
not justify the use case as only the CXL subsystem requires this event.
Enforce that only one callback can be registered at any time.
Cc: Ard Biesheuvel <[email protected]>
Cc: Rafael J. Wysocki <[email protected]>
Signed-off-by: Ira Weiny <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[djbw: fixup checkpatch errors]
Reviewed-by: Jonathan Cameron <[email protected]>
Acked-by: Ard Biesheuvel <[email protected]>
Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions