mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
Merge branch 'pci/enumeration'
- Warn if a host bridge has no NUMA info (Yunsheng Lin) * pci/enumeration: PCI: Warn if no host bridge NUMA node info
This commit is contained in:
commit
093b9062ad
1 changed files with 3 additions and 0 deletions
|
|
@ -897,6 +897,9 @@ static int pci_register_host_bridge(struct pci_host_bridge *bridge)
|
|||
else
|
||||
pr_info("PCI host bridge to bus %s\n", name);
|
||||
|
||||
if (nr_node_ids > 1 && pcibus_to_node(bus) == NUMA_NO_NODE)
|
||||
dev_warn(&bus->dev, "Unknown NUMA node; performance will be reduced\n");
|
||||
|
||||
/* Add initial resources to the bus */
|
||||
resource_list_for_each_entry_safe(window, n, &resources) {
|
||||
list_move_tail(&window->node, &bridge->windows);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue