linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] PCI hotplug driver fixes
@ 2024-05-09 12:05 Krishna Kumar
  2024-05-09 12:05 ` [PATCH 1/2] pci/hotplug/pnv_php: Fix hotplug driver crash on Powernv Krishna Kumar
  2024-05-09 12:05 ` [PATCH 2/2] arch/powerpc: hotplug driver bridge support Krishna Kumar
  0 siblings, 2 replies; 8+ messages in thread
From: Krishna Kumar @ 2024-05-09 12:05 UTC (permalink / raw)
  To: mpe, npiggin
  Cc: linuxppc-dev, linux-kernel, linux-pci, brking, gbatra,
	aneesh.kumar, christophe.leroy, nathanl, bhelgaas, oohall,
	tpearson, mahesh.salgaonkar, Krishna Kumar

The fix of Powerpc hotplug driver (drivers/pci/hotplug/pnv_php.c)
addresses below two issues.

1. Kernel Crash during hot unplug of bridge/switch slot.

2. DPC-Support Enablement - Previously, when we do a hot-unplug
operation on a bridge slot, all the ports and devices behind the
bridge-ports would be hot-unplugged/offline, but when we do a hot-plug
operation on the same bridge slot, all the ports and devices behind the
bridge would not get hot-plugged/online. In this case, Only the first
port of the bridge gets enabled and the remaining port/devices remain
unplugged/offline.  After the fix, The hot-unplug and hot-plug
operations on the slot associated with the bridge started behaving
correctly and became in sync. Now, after the hot plug operation on the
same slot, all the bridge ports and devices behind the bridge become
hot-plugged/online/restored in the same manner as it was before the
hot-unplug operation.



Krishna Kumar (2):
  pci/hotplug/pnv_php: Fix hotplug driver crash on Powernv
  arch/powerpc: hotplug driver bridge support

 arch/powerpc/include/asm/ppc-pci.h |  4 +++
 arch/powerpc/kernel/pci-hotplug.c  |  5 ++--
 arch/powerpc/kernel/pci_dn.c       | 42 ++++++++++++++++++++++++++++++
 drivers/pci/hotplug/pnv_php.c      |  3 +--
 4 files changed, 49 insertions(+), 5 deletions(-)

-- 
2.44.0


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

end of thread, other threads:[~2024-06-27 17:12 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-09 12:05 [PATCH 0/2] PCI hotplug driver fixes Krishna Kumar
2024-05-09 12:05 ` [PATCH 1/2] pci/hotplug/pnv_php: Fix hotplug driver crash on Powernv Krishna Kumar
2024-06-27 17:04   ` Shawn Anastasio
2024-05-09 12:05 ` [PATCH 2/2] arch/powerpc: hotplug driver bridge support Krishna Kumar
2024-05-11  5:42   ` Andy Shevchenko
2024-05-14 12:05     ` krishna kumar
2024-05-13  9:45   ` Sourabh Jain
2024-05-14 12:08     ` krishna kumar

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).