On Mon, Sep 14, 2015 at 05:05:50PM +0100, Yinghai Lu wrote: > On Mon, Sep 14, 2015 at 3:09 AM, Lorenzo Pieralisi > <lorenzo.pieralisi@xxxxxxx> wrote: > > As I said, ARM is not the only platform affected, MIPS and possibly > > Alpha suffer from the same issue and I think it should be fixed > > in core code (I think __pci_bus_size_bridges() should ignore the > > old aperture size on first scan). > > We could just revert > dff22d2054b5 (" PCI: Call pci_read_bridge_bases() from core instead of > arch code") > instead. Sure, but still that does not explain why the old bridge aperture size matters while sizing the bridge aperture on first bridge scan, I still have no answer for that and I would like to get one. As far as I understand we could just rework: commit d65245c3297ac63abc51a976d9 ("PCI: don't shrink bridge resources") to make sure that old size is taken into account only when the core code tries to reallocate resources, I think that dff22d2054b5 unearthed a problem instead of creating one but I am open to suggestions. Thanks, Lorenzo -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html