]> git.ipfire.org Git - people/arne_f/kernel.git/commit - arch/powerpc/kernel/rtasd.c
powerpc/pseries: Update affinity for memory and cpus specified in a PRRN event
authorJohn Allen <jallen@linux.vnet.ibm.com>
Fri, 6 Jan 2017 19:28:54 +0000 (13:28 -0600)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 2 Feb 2017 09:36:38 +0000 (20:36 +1100)
commit675d8ee685195249d1b35e12a29f614a9888b16d
treef5404f665d36b50a575768813b5a0df551f2bf3e
parente70d59700fc32c9249b26acd4120303c497e84f1
powerpc/pseries: Update affinity for memory and cpus specified in a PRRN event

Extend the existing PRRN infrastructure to perform the actual affinity
updating for cpus and memory in addition to the device tree updating.
For cpus, dynamic affinity updating already appears to exist in the
kernel in the form of arch_update_cpu_topology(). For memory, we must
place a READD operation on the hotplug queue for any phandle included in
the PRRN event that is determined to be an LMB.

Signed-off-by: John Allen <jallen@linux.vnet.ibm.com>
Reviewed-by: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/rtasd.c
arch/powerpc/platforms/pseries/mobility.c