Skip to contentSkip to conversation

Patch "PCI/ACPI: Add ThunderX pass2.x 2nd node MCFG quirk" has been added to the 4.11-stable tree

PATCH [email protected] 1 participant 1 message May 23, 2017

Subsystems (3)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

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

to the 4.11-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
pci-acpi-add-thunderx-pass2.x-2nd-node-mcfg-quirk.patch
and it can be found in the queue-4.11 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From cd183740480f045600aa1fa38fe70809b5498f05 Mon Sep 17 00:00:00 2001

From: Tomasz Nowicki <[email protected]>
Date: Wed, 29 Mar 2017 14:16:13 +0200
Subject: PCI/ACPI: Add ThunderX pass2.x 2nd node MCFG quirk

From: Tomasz Nowicki <[email protected]>

commit cd183740480f045600aa1fa38fe70809b5498f05 upstream.

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")
---
 drivers/acpi/pci_mcfg.c |    1 +
 1 file changed, 1 insertion(+)
drivers/acpi/pci_mcfg.c +1 -0
@@ -101,6 +101,7 @@ static struct mcfg_fixup mcfg_quirks[] =
 	/* SoC pass2.x */
 	THUNDER_PEM_QUIRK(1, 0),
 	THUNDER_PEM_QUIRK(1, 1),
+	THUNDER_ECAM_QUIRK(1, 10),
 
 	/* SoC pass1.x */
 	THUNDER_PEM_QUIRK(2, 0),	/* off-chip devices */

Patches currently in stable-queue which might be from [email protected] are

queue-4.11/pci-acpi-add-thunderx-pass2.x-2nd-node-mcfg-quirk.patch