Skip to content

powerpc: switch to dynamic root devices

Johan Hovold linuxppc-dev lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 2/23 patches 1 replyIn review
  2. v2 posting 1/23 patches 1 replySuperseded
  3. v13 patches 0 repliesSuperseded

Changes in v2 from the cover letter

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

Patches in v2 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3powerpc/ps3: switch to dynamic system bus root devicearch/powerpc/platforms/ps3/system-bus.c+4 -60 replies
2/3powerpc/pseries: switch to dynamic ibmebus root devicearch/powerpc/platforms/pseries/ibmebus.c+23 -161 reply
3/3powerpc/pseries: clean up ibmebus printksarch/powerpc/platforms/pseries/ibmebus.c+7 -130 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchMingming Cao
1/3
2/3R-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

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

[ 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(-)
Signature · 1 line
2.54.0