linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] PowerNV PCIe Hotplug Driver Fixes
@ 2025-04-04  4:18 Shawn Anastasio
  2025-04-04  4:18 ` [PATCH 1/3] pci/hotplug/pnv_php: Properly clean up allocated IRQs on unplug Shawn Anastasio
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Shawn Anastasio @ 2025-04-04  4:18 UTC (permalink / raw)
  To: linuxppc-dev
  Cc: linux-kernel, linux-pci, tpearson, Madhavan Srinivasan,
	Michael Ellerman, Christophe Leroy, Naveen N Rao, Bjorn Helgaas,
	Shawn Anastasio

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



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-04-12  4:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-04  4:18 [PATCH 0/3] PowerNV PCIe Hotplug Driver Fixes Shawn Anastasio
2025-04-04  4:18 ` [PATCH 1/3] pci/hotplug/pnv_php: Properly clean up allocated IRQs on unplug Shawn Anastasio
2025-04-04  4:18 ` [PATCH 2/3] pci/hotplug/pnv_php: Work around switches with broken presence detection Shawn Anastasio
2025-04-04  4:42   ` Lukas Wunner
2025-04-12  4:31     ` Lukas Wunner
2025-04-04  4:18 ` [PATCH 3/3] pci/hotplug/pnv_php: Fix refcount underflow on hot unplug Shawn Anastasio

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).