All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] powerpc: switch to dynamic root devices
@ 2026-04-24 16:02 Johan Hovold
  2026-04-24 16:02 ` [PATCH v2 1/3] powerpc/ps3: switch to dynamic system bus root device Johan Hovold
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Johan Hovold @ 2026-04-24 16:02 UTC (permalink / raw)
  To: Geoff Levand, Madhavan Srinivasan, Michael Ellerman
  Cc: Nicholas Piggin, Christophe Leroy, Greg Kroah-Hartman,
	linuxppc-dev, linux-kernel, Johan Hovold

This series replaces static root devices with dynamically allocated
ones. Included is also a related printk cleanup.

Johan


Changes in v2:
 - only set ibmebus root pointer on successful registration
 - add sanity check when registering ibmebus devices to avoid
   use-after-free if ibmebus_register_driver() is called after the bus
   failed to register (Sashiko flagged this path which I had missed)


Johan Hovold (3):
  powerpc/ps3: switch to dynamic system bus root device
  powerpc/pseries: switch to dynamic ibmebus root device
  powerpc/pseries: clean up ibmebus printks

 arch/powerpc/platforms/ps3/system-bus.c  | 10 ++---
 arch/powerpc/platforms/pseries/ibmebus.c | 57 ++++++++++++------------
 2 files changed, 33 insertions(+), 34 deletions(-)

-- 
2.53.0



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

end of thread, other threads:[~2026-04-24 16:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-24 16:02 [PATCH v2 0/3] powerpc: switch to dynamic root devices Johan Hovold
2026-04-24 16:02 ` [PATCH v2 1/3] powerpc/ps3: switch to dynamic system bus root device Johan Hovold
2026-04-24 16:02 ` [PATCH v2 2/3] powerpc/pseries: switch to dynamic ibmebus " Johan Hovold
2026-04-24 16:02 ` [PATCH v2 3/3] powerpc/pseries: clean up ibmebus printks Johan Hovold

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.