On Mon, Sep 05, 2022 at 11:24:26PM +0800, Kai-Heng Feng wrote: > > can you check if that is happening? It should show up in the dmesg when > > CONFIG_PCI_DEBUG=y but I don't see it in yours. > > That's because there isn't any child device yet, so the function bails early: > if (!dev->subordinate || list_empty(&dev->subordinate->devices)) Ah, of course I forgot that this is hotplug case so there are no need for the delays :/