Skip to content

Commit

Permalink
Revert "ACPI/PCI: Pay attention to device-specific _PXM node values"
Browse files Browse the repository at this point in the history
This reverts commit bad7dcd.

bad7dcd ("ACPI/PCI: Pay attention to device-specific _PXM node
values") caused boot failures (no console output at all) for Martin [1]
and Ingo [2] on AMD ThreadRipper systems.

Revert the commit until we figure out how to safely use these
device-specific _PXM values.

[1] https://lore.kernel.org/linux-pci/[email protected]
[2] https://lore.kernel.org/linux-pci/[email protected]
Fixes: bad7dcd ("ACPI/PCI: Pay attention to device-specific _PXM node values")
Signed-off-by: Bjorn Helgaas <[email protected]>
  • Loading branch information
bjorn-helgaas authored and Bjorn Helgaas committed Nov 13, 2018
1 parent 6510223 commit 0d76bcc
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions drivers/pci/pci-acpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 0d76bcc

Please sign in to comment.