diff options
author | Mika Westerberg <mika.westerberg@linux.intel.com> | 2018-05-24 20:23:52 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2018-06-04 19:08:06 +0200 |
commit | e412d63d6025f5713d0e68e710ab5a99f9edc11b (patch) | |
tree | 4bab573c61e54b9d9f23a7d25394c6b74c04f0b2 /mm/page_alloc.c | |
parent | PCI: Improve pci_scan_bridge() and pci_scan_bridge_extend() doc (diff) | |
download | linux-e412d63d6025f5713d0e68e710ab5a99f9edc11b.tar.xz linux-e412d63d6025f5713d0e68e710ab5a99f9edc11b.zip |
PCI: Improve "partially hidden behind bridge" log message
pci_scan_child_bus_extend() complains when we assign an unreachable
secondary bus number to a bridge. For example, given the topology below:
+-1b.0-[01-39]----00.0-[02-3a]--+-00.0-[03]----00.0
+-01.0-[04-39]--
\-02.0-[3a]----00.0
it logs the following messages:
pci_bus 0000:3a: [bus 3a] partially hidden behind bridge 0000:02 [bus 02-39]
pci_bus 0000:3a: [bus 3a] partially hidden behind bridge 0000:01 [bus 01-39]
These messages are incorrect (0000:02 is a bus, not a bridge) and
confusing. Make the message more understandable:
pci 0000:02:02.0: devices behind bridge are unusable because [bus 3a] cannot be assigned for them
Also, remove the reference to CardBus, because this issue affects all
varieties of PCI, not just CardBus.
Suggested-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
[bhelgaas: changelog]
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'mm/page_alloc.c')
0 files changed, 0 insertions, 0 deletions