powerpc/pseries: Dynamic associativity-lookup-arrays updating
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | powerpc/pseries: Move property cloning into its own routinearch/ | +26 | 1 reply | |
| 2/2 | powerpc/pseries: Dynamic add entires to associativity lookup arrayarch/ | +66 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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(-)