[<prev] [next>] [day] [month] [year] [list]
Message-ID: <1970833911.1309763.1750220477118.JavaMail.zimbra@raptorengineeringinc.com>
Date: Tue, 17 Jun 2025 23:21:17 -0500 (CDT)
From: Timothy Pearson <tpearson@...torengineering.com>
To: linuxppc-dev@...ts.ozlabs.org
Cc: linux-kernel@...r.kernel.org, linux-pci@...r.kernel.org,
tpearson@...torengineering.com,
Madhavan Srinivasan <maddy@...ux.ibm.com>,
Michael Ellerman <mpe@...erman.id.au>,
Christophe Leroy <christophe.leroy@...roup.eu>,
Naveen N Rao <naveen@...nel.org>,
Bjorn Helgaas <bhelgaas@...gle.com>,
Shawn Anastasio <sanastasio@...torengineering.com>
Subject: [PATCH 0/6] PowerNV PCIe Hotplug Driver Fixes
Hello all,
This series includes several fixes for bugs in the PowerNV PCIe hotplug
driver that were discovered in testing with a Microsemi Switchtec PM8533
PFX 48xG3 PCIe switch on a PowerNV system, as well as one workaround for
PCIe switches that don't correctly implement slot presence detection
such as the aforementioned one. Without the workaround, the switch works
and downstream devices can be hot-unplugged, but the devices never come
back online after being plugged in again until the system is rebooted.
Other hotplug drivers (like pciehp_hpc) use a similar workaround.
Also included are fixes for the EEH driver to make it hotplug safe,
and a small patch to enable all three attention indicator states per
the PCIe specification.
Thanks,
Shawn Anastasio (2):
pci/hotplug/pnv_php: Properly clean up allocated IRQs on unplug
pci/hotplug/pnv_php: Work around switches with broken presence
detection
Timothy Pearson (5):
powerpc/pseries/eeh: Export eeh_unfreeze_pe() and eeh_ops
powerpc/eeh: Make EEH driver device hotplug safe
pci/hotplug/pnv_php: Fix surprise plug detection and recovery
pci/hotplug/pnv_php: Enable third atetntion indicator state
arch/powerpc/kernel/eeh.c | 2 +
arch/powerpc/kernel/eeh_driver.c | 48 ++++--
arch/powerpc/kernel/eeh_pe.c | 10 +-
arch/powerpc/kernel/pci-hotplug.c | 3 +
arch/powerpc/platforms/powernv/eeh-powernv.c | 1 +
drivers/pci/hotplug/pciehp.h | 1 -
drivers/pci/hotplug/pciehp_ctrl.c | 2 +-
drivers/pci/hotplug/pciehp_hpc.c | 33 +---
drivers/pci/hotplug/pnv_php.c | 172 ++++++++++++++++---
drivers/pci/pci.c | 31 +++-
drivers/pci/pci.h | 1 +
11 files changed, 228 insertions(+), 76 deletions(-)
--
2.39.5
Powered by blists - more mailing lists