]> 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)
commit9a7aa214727d4b900d73c66ae2e7026eb3d03d35
treef5404f665d36b50a575768813b5a0df551f2bf3e
parent6d609bc0dea5a0304613b24690f61e388f63f484
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