[PATCH 0/3] powerpc/powernv: PCI hotplug fixes and improvement

Gavin Shan gwshan at linux.vnet.ibm.com
Wed Jan 11 11:50:05 AEDT 2017


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

 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



More information about the Linuxppc-dev mailing list