The patches intend to utilize the PCI slot reset capability exposed from the skiboot firmware, which requires corresponding changes as follows:
Changelog ========= v2 -> v3 * Rebased to Richard's SRIOV patchset. * Removed hotplug part, which needs rework. v1 -> v2 * Keep opal_pci_reinit(). In case the slot is resetted by kernel, instead of skiboot, this API should be called to restore states for those affected devices. * Reworked slot ID scheme so that old/new kernel can work with skiboot with or without unified PCI slot management support. * Code cleanup here and there. * Separate powernv-php driver to support PCI hotplug for PowerNV platform. * Check if the OPAL API supported by firmware before calling into it, which is necessary for back-compability. * Separate patch for factoring pnv_pci_poll(). Gavin Shan (3): powerpc/powernv: Use PCI slot reset infrastructure powerpc/powernv: Fundamental reset for PCI bus reset powerpc/pci: Don't scan empty slot arch/powerpc/include/asm/eeh.h | 1 + arch/powerpc/include/asm/opal.h | 4 +- arch/powerpc/kernel/pci-hotplug.c | 3 +- arch/powerpc/platforms/powernv/eeh-powernv.c | 235 ++++++++++++++------------- 4 files changed, 127 insertions(+), 116 deletions(-) -- 1.8.3.2 _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev