]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0f7eb4165a2c6eb58ddfcf985b129379d31b1df7
treef5404f665d36b50a575768813b5a0df551f2bf3e
parent44d4d9bd87ea9ac7a6143a7c5e03faf1395f97c9
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