summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2018-11-14 13:51:47 -0600
committerLinus Torvalds <torvalds@linux-foundation.org>2018-11-14 13:51:47 -0600
commitd41217aac0a577a247c9c8cde688419fde25fba5 (patch)
tree1909777e4fd4059ca28fe64cd772031eee0a9f48 /drivers
parentdbcec2e6bcfeb9769005cf529f0b5050f9557ff6 (diff)
parent0d76bcc960e6057750fcf556b65da13f8bbdfd2b (diff)
downloadlinux-d41217aac0a577a247c9c8cde688419fde25fba5.tar.bz2
Merge tag 'pci-v4.20-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci
Pull PCI fix from Bjorn Helgaas: "Revert a _PXM change that causes silent early boot failure on some AMD ThreadRipper systems" * tag 'pci-v4.20-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci: Revert "ACPI/PCI: Pay attention to device-specific _PXM node values"
Diffstat (limited to 'drivers')
-rw-r--r--drivers/pci/pci-acpi.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/pci/pci-acpi.c b/drivers/pci/pci-acpi.c
index 2a4aa6468579..921db6f80340 100644
--- a/drivers/pci/pci-acpi.c
+++ b/drivers/pci/pci-acpi.c
@@ -793,15 +793,10 @@ static void pci_acpi_setup(struct device *dev)
{
struct pci_dev *pci_dev = to_pci_dev(dev);
struct acpi_device *adev = ACPI_COMPANION(dev);
- int node;
if (!adev)
return;
- node = acpi_get_node(adev->handle);
- if (node != NUMA_NO_NODE)
- set_dev_node(dev, node);
-
pci_acpi_optimize_delay(pci_dev, adev->handle);
pci_acpi_add_pm_notifier(adev, pci_dev);