[PATCH 0/3] PowerNV PCIe Hotplug Driver Fixes
Shawn Anastasio
sanastasio at raptorengineering.com
Fri Apr 4 15:18:07 AEDT 2025
Hello all,
This series includes two 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.
Thanks,
Shawn Anastasio (3):
pci/hotplug/pnv_php: Properly clean up allocated IRQs on unplug
pci/hotplug/pnv_php: Work around switches with broken presence
detection
pci/hotplug/pnv_php: Fix refcount underflow on hot unplug
drivers/pci/hotplug/pnv_php.c | 110 +++++++++++++++++++++++++++-------
1 file changed, 88 insertions(+), 22 deletions(-)
--
2.30.2
More information about the Linuxppc-dev
mailing list