From: Bjorn Helgaas <bhelgaas@xxxxxxxxxx> These are extracted from Nicholas's patch at [1]. I'm pretty sure these don't change the behavior, but please tell me if I'm wrong. The second raises some questions about how we distribute resources to non-hotplug bridges with hotplug bridges below them. Details in that commit log. Nicholas, if you post another revision, feel free to include these at the beginning. In that case, you should drop my signed-off-by (which I always add during the merge process). Otherwise, let me know if these look OK and I'll add your signed-off-by. I dropped it because I changed things slightly from your original patch, and I didn't want to attribute any of my errors to you. [1] https://lore.kernel.org/r/PS2P216MB0642C7A485649D2D787A1C6F80000@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Bjorn Helgaas (2): PCI: Simplify pci_bus_distribute_available_resources() PCI: Skip resource distribution when no hotplug bridges drivers/pci/setup-bus.c | 55 +++++++++++++++++++++-------------------- 1 file changed, 28 insertions(+), 27 deletions(-) -- 2.22.0.410.gd8fdbe21b5-goog