On Wed, Jan 11, 2017 at 11:50:05AM +1100, Gavin Shan wrote: >This series fixes couple issues or improves its reliability: > > * The PDC event is never detected inside the IRQ handler in surprise > hot-add path. > * The slot's initial state should be REGISTERED state if it's emtpy. > Otherwise, the PCI devices behind the slot won't be populated properly > in hot-add path. > * PDC isn't reliable for hot-add on some machines. Introduce another > device-tree property to disable it if required by (skiboot) firmware. > >Gavin Shan (3): > drivers/pci/hotplug: Handle presence detection change properly > drivers/pci/hotplug: Fix initial state for empty slot > drivers/pci/hotplug: Mask PDC interrupt if required >
Michael, could you help to take a look when you have available time? I hope those 3 patches can be merged in next merge window, which seems to come pretty soon. Thanks, Gavin > arch/powerpc/include/asm/pnv-pci.h | 2 ++ > drivers/pci/hotplug/pnv_php.c | 49 +++++++++++++++++++++++++++++++------- > 2 files changed, 43 insertions(+), 8 deletions(-) > >-- >2.7.4 >