This series of patches fixes the appropriate _OSC check for CXL RAS registers. First patch addresses the _OSC check. Second patch moves around pcie_aer_is_native() function declaration to a common location to be used by cxl/pci module and third patch reuses pcie_aer_is_native() in cxl/pci module. Link to v3: https://lore.kernel.org/all/20230803230129.127590-1-Smita.KoralahalliChannabasappa@xxxxxxx Smita Koralahalli (3): cxl/pci: Fix appropriate checking for _OSC while handling CXL RAS registers PCI/AER: Export pcie_aer_is_native() cxl/pci: Replace host_bridge->native_aer with pcie_aer_is_native() drivers/cxl/pci.c | 7 +++---- drivers/pci/pcie/aer.c | 1 + drivers/pci/pcie/portdrv.h | 2 -- include/linux/aer.h | 2 ++ 4 files changed, 6 insertions(+), 6 deletions(-) -- 2.17.1