diff --git a/drivers/pci/setup-bus.c b/drivers/pci/setup-bus.c index 86b69f85..84543f5 100644 --- a/drivers/pci/setup-bus.c +++ b/drivers/pci/setup-bus.c @@ -849,6 +849,10 @@ void __ref __pci_bus_size_bridges(struct pci_bus *bus, break; case PCI_CLASS_BRIDGE_PCI: + /* don't size subtractive decoding (transparent) + * PCI-to-PCI bridges */ + if (bus->self->transparent) + break; pci_bridge_check_ranges(bus); if (bus->self->is_hotplug_bridge) { additional_io_size = pci_hotplug_io_size;