Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

PCI/ACPI: Add ThunderX pass2.x 2nd node MCFG quirk

Currently SoCs pass2.x do not emulate EA headers for ACPI boot method at
all. However, for pass2.x some devices (like EDAC) advertise incorrect
base addresses in their BARs which results in driver probe failure during
resource request. Since all problematic blocks are on 2nd NUMA node under
domain 10 add necessary quirk entry to obtain BAR addresses correction
using EA header emulation.

Fixes: 44f22bd91e88 ("PCI: Add MCFG quirks for Cavium ThunderX pass2.x host controller")
Signed-off-by: Tomasz Nowicki <tn@semihalf.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Robert Richter <rrichter@cavium.com>
CC: stable@vger.kernel.org # v4.10+

authored by

Tomasz Nowicki and committed by
Bjorn Helgaas
cd183740 ced414a1

+1
+1
drivers/acpi/pci_mcfg.c
··· 101 101 /* SoC pass2.x */ 102 102 THUNDER_PEM_QUIRK(1, 0), 103 103 THUNDER_PEM_QUIRK(1, 1), 104 + THUNDER_ECAM_QUIRK(1, 10), 104 105 105 106 /* SoC pass1.x */ 106 107 THUNDER_PEM_QUIRK(2, 0), /* off-chip devices */