Skip to content

powerpc/pseries: Dynamic associativity-lookup-arrays updating

Nathan Fontenot linuxppc-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2powerpc/pseries: Move property cloning into its own routinearch/powerpc/platforms/pseries/hotplug-memory.c+26 -121 reply
2/2powerpc/pseries: Dynamic add entires to associativity lookup arrayarch/powerpc/platforms/pseries/hotplug-memory.c+66 -270 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] powerpc/pseries: Dynamic associativity-lookup-arrays updating

The ibm,dynamic-reconfiguration-memory/ibm,associativity-lookup-arrays property used to track the associativity for LMBs assigned to a system may not contain all of the possible associativity arrays for the system at boot time. When a LMB is added to the system and its associativity array is not present in the lookup array we need to update the lookup array to contain the new associativity array.

The first patch splits the code that creates a clone of a property into its own routine so this can be used for cloning any of the properties used during memory hotplug.

The second patch updates the associativity lookup code to dynamically add new associativity arrays to the lookup array if they are not present.

-Nathan

 hotplug-memory.c |  131 ++++++++++++++++++++++++++++++++++++++-----------------
 1 file changed, 92 insertions(+), 39 deletions(-)