[PATCH 0/2] powerpc/dlpar: Correct display of hot-add/hot-remove CPUs and memory

From: Michael Bringmann
Date: Tue May 23 2017 - 11:15:40 EST



powerpc/numa: Correct the currently broken capability to set the
topology for shared CPUs in LPARs. At boot time for shared CPU
lpars, the topology for each shared CPU is set to node zero, however,
this is now updated correctly using the Virtual Processor Home Node
(VPHN) capabilities information provided by the pHyp. The VPHN handling
in Linux is disabled, if PRRN handling is present.

powerpc/hotplug-memory: Removing or adding memory via the PowerPC
hotplug interface shows anomalies in the association between memory
and nodes. The code was updated to better take advantage of defined
nodes in order to associate memory to nodes not needed at boot time,
but relevant to dynamically added memory.

Signed-off-by: Michael Bringmann <mwb@xxxxxxxxxxxxxxxxxx>

Michael Bringmann (2):
powerpc/numa: Update CPU topology when VPHN enabled
powerpc/hotplug-memory: Fix hot-add memory node assoc
---