]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
PCI/AER: Update is_internal_error() to be non-static is_aer_internal_error()
authorTerry Bowman <terry.bowman@amd.com>
Wed, 14 Jan 2026 18:20:31 +0000 (12:20 -0600)
committerDave Jiang <dave.jiang@intel.com>
Thu, 22 Jan 2026 22:07:04 +0000 (15:07 -0700)
commit51ce56b1a5d6f7263739d4766ae445463c74b689
tree2fd1692ceb970ceda9d727dd9d4db460f1119c8f
parent6dc5fe212e74e6880a1da0093f627387d0a658bb
PCI/AER: Update is_internal_error() to be non-static is_aer_internal_error()

The AER driver includes significant logic for handling CXL protocol errors.
The AER driver will be updated in the future to separate the AER and CXL
logic.

Rename the is_internal_error() function to is_aer_internal_error() as it
gives a more precise indication of the purpose. Make
is_aer_internal_error() non-static to allow for the 2 different CXL
topology error model implementations (RCH and VH) to share this helper.

Signed-off-by: Terry Bowman <terry.bowman@amd.com>
Link: https://patch.msgid.link/20260114182055.46029-11-terry.bowman@amd.com
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
drivers/pci/pcie/aer.c
drivers/pci/pcie/portdrv.h