[PATCH v3 0/3] powerpc/powernv: Unified PCI slot reset
Gavin Shan
gwshan at linux.vnet.ibm.com
Tue Mar 24 11:39:39 AEDT 2015
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
More information about the Linuxppc-dev
mailing list