]> git.itanic.dy.fi Git - linux-stable/commit
PCI: Warn if no host bridge NUMA node info
authorYunsheng Lin <linyunsheng@huawei.com>
Sat, 19 Oct 2019 06:45:43 +0000 (14:45 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 23 Oct 2019 17:04:44 +0000 (12:04 -0500)
commitad5086108b9f0361929aa9a79cf959ab5681d249
tree81f420bd0e584e8e3f281d781b3f69acbc55337c
parent54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c
PCI: Warn if no host bridge NUMA node info

In pci_call_probe(), we try to run driver probe functions on the node where
the device is attached.  If we don't know which node the device is attached
to, the driver will likely run on the wrong node.  This will still work,
but performance will not be as good as it could be.

On NUMA systems, warn if we don't know which node a PCI host bridge is
attached to.  This is likely an indication that ACPI didn't supply a _PXM
method or the DT didn't supply a "numa-node-id" property.

[bhelgaas: commit log, check bus node]
Link: https://lore.kernel.org/r/1571467543-26125-1-git-send-email-linyunsheng@huawei.com
Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/probe.c