]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
PCI/AER: Report CXL or PCIe bus type in AER trace logging
authorTerry Bowman <terry.bowman@amd.com>
Wed, 14 Jan 2026 18:20:35 +0000 (12:20 -0600)
committerDave Jiang <dave.jiang@intel.com>
Thu, 22 Jan 2026 22:07:04 +0000 (15:07 -0700)
commit83cba5b31e6b0aeb32f41b9c954fe97b60db2817
treeaa5a84ca420c7357c313d2af0e2f97c07f8b1fc8
parentda71bd360ded15626dabd59dd1d6939de38cab39
PCI/AER: Report CXL or PCIe bus type in AER trace logging

The AER service driver and aer_event tracing currently log 'PCIe Bus Type'
for all errors. Update the driver and aer_event tracing to log 'CXL Bus
Type' for CXL device errors.

This requires that AER can identify and distinguish between PCIe errors and
CXL errors.

Introduce boolean 'is_cxl' to 'struct aer_err_info'. Add assignment in
aer_get_device_error_info() and pci_print_aer().

Update the aer_event trace routine to accept a bus type string parameter.

Signed-off-by: Terry Bowman <terry.bowman@amd.com>
Co-developed-by: Dan Williams <dan.j.williams@intel.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com>
Link: https://patch.msgid.link/20260114182055.46029-15-terry.bowman@amd.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
drivers/pci/pci.h
drivers/pci/pcie/aer.c
include/ras/ras_event.h