Revert "ACPI/PCI: Pay attention to device-specific _PXM node values"
This reverts commit bad7dcd94f3956bcfc0a69ef71fdf0fcca3de4a8. bad7dcd94f39 ("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/20180912152140.3676-2-Jonathan.Cameron@huawei.com [2] https://lore.kernel.org/linux-pci/20181113071712.GA2353@gmail.com Fixes: bad7dcd94f39 ("ACPI/PCI: Pay attention to device-specific _PXM node values") Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
This commit is contained in:
parent
651022382c
commit
0d76bcc960
@ -793,15 +793,10 @@ static void pci_acpi_setup(struct device *dev)
|
|||||||
{
|
{
|
||||||
struct pci_dev *pci_dev = to_pci_dev(dev);
|
struct pci_dev *pci_dev = to_pci_dev(dev);
|
||||||
struct acpi_device *adev = ACPI_COMPANION(dev);
|
struct acpi_device *adev = ACPI_COMPANION(dev);
|
||||||
int node;
|
|
||||||
|
|
||||||
if (!adev)
|
if (!adev)
|
||||||
return;
|
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_optimize_delay(pci_dev, adev->handle);
|
||||||
|
|
||||||
pci_acpi_add_pm_notifier(adev, pci_dev);
|
pci_acpi_add_pm_notifier(adev, pci_dev);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user