Thread (4 messages) flat view 4 messages, 1 author, 23h ago
HOTtoday

Revision v2 of 3 in this series.

Revisions (3)
  1. v1 [diff vs current]
  2. v2 [diff vs current]
  3. v2 current

[PATCH v2 RESEND 0/3] powerpc: switch to dynamic root devices

From: Johan Hovold <johan@kernel.org>
Date: 2026-08-12 14:20:33
Also in: lkml

[ It's been over three months (and one reminder) since this series was
  posted so resending.  ]

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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help