[PATCH v2 0/2] PCI MCFG consolidation and APEI resource filtering

From: Xuesong Chen
Date: Fri Oct 08 2021 - 04:38:57 EST


The issue of commit d91525eb8ee6 ("ACPI, EINJ: Enhance error injection tolerance
level") on x86 is also happened on our own arm64 platform. We sent a patch[1]
trying to fix this issue in an arch-specific way as x86 does, but according to
the suggestion from Lorenzo and Catalin, we can consolidate the PCI MCFG part
then fix it in a more common way.

[1] http://lists.infradead.org/pipermail/linux-arm-kernel/2021-September/682292.html

v2 change:
Fix the "undefined reference to `pci_mmcfg_list'" build error in case of
PCI_CONFIG=n, reported by the kernel test robot.

Xuesong Chen (2):
PCI: MCFG: Consolidate the separate PCI MCFG table entry list
ACPI: APEI: Filter the PCI MCFG address with an arch-agnostic method

arch/x86/include/asm/pci_x86.h | 17 +---------------
arch/x86/pci/mmconfig-shared.c | 30 ---------------------------
drivers/acpi/apei/apei-base.c | 46 +++++++++++++++++++++++++++---------------
drivers/acpi/pci_mcfg.c | 34 ++++++++++++-------------------
drivers/pci/pci.c | 2 ++
include/linux/pci.h | 17 ++++++++++++++++
6 files changed, 63 insertions(+), 83 deletions(-)

--
1.8.3.1