This patchset adds trace event support for FW-First Protocol Errors.
Reworked the patchset to reuse the work item written by Ira for handling
CPER events.
I understand this patchset also schedules the cxl_pci driver to look at
potentially "non-device" errors as Terry's port error handling patches are
under review. However, I'm also fine to just confine it until FMLD as of
now. Looking for feedbacks here.
Link to v1:
https://lore.kernel.org/all/20240522150839.27578-1-Smita.KoralahalliChannabasappa@amd.com
Smita Koralahalli (4):
efi/cper, cxl: Make definitions and structures global
cxl/pci: Define a common function get_cxl_devstate()
acpi/ghes, efi/cper: Recognize and process CXL Protocol Errors.
acpi/ghes, cxl/pci: Trace FW-First CXL Protocol Errors
drivers/acpi/apei/ghes.c | 24 ++++++
drivers/cxl/core/pci.c | 24 ++++++
drivers/cxl/cxlpci.h | 3 +
drivers/cxl/pci.c | 52 +++++++++----
drivers/firmware/efi/cper_cxl.c | 126 +++++++++++++++++++++++++++++---
drivers/firmware/efi/cper_cxl.h | 7 +-
include/cxl/event.h | 38 ++++++++++
include/linux/cper.h | 4 +
8 files changed, 247 insertions(+), 31 deletions(-)
--
2.17.1