This series bases on pending ACPI PCI support for ARM64: https://lkml.org/lkml/2016/5/30/468 Quirk handling relies on an idea of matching MCFG OEM ID and OEM revision (the ones from standard header of MCFG table). Linker section is used so that quirks can be registered using special macro (see patches) and kept self contained. As an example, last patch presents above mechanism usage for ThunderX PEM driver. Tomasz Nowicki (3): pci, acpi: Match PCI config space accessors against platfrom specific ECAM quirks. arm64, pci: Start using quirks handling for ACPI based PCI host controller. pci, pci-thunder-pem: Add ACPI support for ThunderX PEM. arch/arm64/kernel/pci.c | 7 +- drivers/acpi/pci_mcfg.c | 32 +++++++++ drivers/pci/host/pci-thunder-pem.c | 132 +++++++++++++++++++++++++++++++++---- include/asm-generic/vmlinux.lds.h | 7 ++ include/linux/pci-acpi.h | 19 ++++++ 5 files changed, 181 insertions(+), 16 deletions(-) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html