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

Johan Hovold posted 3 patches 1 month, 3 weeks ago
arch/powerpc/platforms/ps3/system-bus.c  | 10 ++---
arch/powerpc/platforms/pseries/ibmebus.c | 57 ++++++++++++------------
2 files changed, 33 insertions(+), 34 deletions(-)
[PATCH v2 0/3] powerpc: switch to dynamic root devices
Posted by Johan Hovold 1 month, 3 weeks ago
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
Re: [PATCH v2 0/3] powerpc: switch to dynamic root devices
Posted by Johan Hovold 6 days, 16 hours ago
On Fri, Apr 24, 2026 at 06:02:56PM +0200, Johan Hovold wrote:
> This series replaces static root devices with dynamically allocated
> ones. Included is also a related printk cleanup.

> 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

Can these be picked up now?

Johan