Skip to content

powerpc/pseries: fix/cleanup broken mobility device-tree update code

Tyrel Datwyler linuxppc-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8powerpc/pseries: fix creation of loop in device node property listarch/powerpc/platforms/pseries/mobility.c+1 -11 reply
2/8powerpc/pseries: fix over writing of rtas return code in update_dt_nodearch/powerpc/platforms/pseries/mobility.c+4 -41 reply
3/8powerpc/pseries: pack update_props_workarea to map correctly to rtas buffer headerarch/powerpc/platforms/pseries/mobility.c+1 -11 reply
4/8powerpc/pseries: fix parsing of initial node path in update_dt_nodearch/powerpc/platforms/pseries/mobility.c+11 -101 reply
5/8powerpc/pseries: do all node initialization in dlpar_parse_cc_nodearch/powerpc/platforms/pseries/dlpar.c+3 -21 reply
6/8powerpc/pseries: make dlpar_configure_connector parent node awarearch/powerpc/platforms/pseries/dlpar.c arch/powerpc/platforms/pseries/mobility.c arch/powerpc/platforms/pseries/pseries.h+34 -341 reply
7/8powerpc/pseries: add mising of_node_put in delete_dt_nodearch/powerpc/platforms/pseries/mobility.c+1 -01 reply
8/8powerpc/pseries: child nodes are not detached by dlpar_detach_nodearch/powerpc/platforms/pseries/dlpar.c+7 -01 reply

Reviews trailers per patch

All 8 patches have a Reviewed-by or Acked-by.

PatchNathan Fontenot
1/8A-b
2/8A-b
3/8A-b
4/8A-b
5/8A-b
6/8A-b
7/8A-b
8/8A-b

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

Read the v1 thread

Cover letter [PATCH 0/8] powerpc/pseries: fix/cleanup broken mobility device-tree update code

Currently we still perform updating of the device tree after a suspend or migration from drmgr in userspace through the ugly /proc/ppc64/ofdt interface. Code exists to do this update from within the kernel, but testing revealed it to be severely broken to the point that the system hardlocks up stuck in an infinite loop with irqs disabled.

The first 4 patches in the series fix several issues encountered tyring to perform node property updates as dictated by the ibm,update-properties rtas call. The next 2 patches refactor the logic of dlpar_configure_connector to enusre that nodes created in a device nodes subtree are initialized correctly. The remainder of the patchset fixes a couple problems with node removal.

Tyrel Datwyler (8):
powerpc/pseries: fix creation of loop in device node property list powerpc/pseries: fix over writing of rtas return code in
update_dt_node
powerpc/pseries: pack update_props_workarea to map correctly to rtas
buffer header
powerpc/pseries: fix parsing of initial node path in update_dt_node powerpc/pseries: do all node initialization in dlpar_parse_cc_node powerpc/pseries: make dlpar_configure_connector parent node aware powerpc/pseries: add mising of_node_put in delete_dt_node powerpc/pseries: child nodes are not detached by dlpar_detach_node

 arch/powerpc/platforms/pseries/dlpar.c    | 67 ++++++++++++++++++-------------
 arch/powerpc/platforms/pseries/mobility.c | 45 ++++++++++-----------
 arch/powerpc/platforms/pseries/pseries.h  |  2 +-
 3 files changed, 62 insertions(+), 52 deletions(-)
Signature · 1 line
1.7.12.4