aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAneesh Kumar K.V <[email protected]>2021-08-12 18:52:21 +0530
committerMichael Ellerman <[email protected]>2021-08-13 22:04:26 +1000
commit8ddc6448ec5a5ef50eaa581a7dec0e12a02850ff (patch)
tree50b9b464809bf22d1f0b9c0b04372214146a6596 /scripts
parent0eacd06bb8adea8dd9edb0a30144166d9f227e64 (diff)
powerpc/pseries: Consolidate different NUMA distance update code paths
The associativity details of the newly added resourced are collected from the hypervisor via "ibm,configure-connector" rtas call. Update the numa distance details of the newly added numa node after the above call. Instead of updating NUMA distance every time we lookup a node id from the associativity property, add helpers that can be used during boot which does this only once. Also remove the distance update from node id lookup helpers. Currently, we duplicate parsing code for ibm,associativity and ibm,associativity-lookup-arrays in the kernel. The associativity array provided by these device tree properties are very similar and hence can use a helper to parse the node id and numa distance details. Signed-off-by: Aneesh Kumar K.V <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions