powerpc/64: Allocate pacas per node
authorNicholas Piggin <npiggin@gmail.com>
Tue, 13 Feb 2018 15:08:20 +0000 (01:08 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 30 Mar 2018 13:06:44 +0000 (00:06 +1100)
commit4890aea65ae7b5d424b5020e8be193b08a545990
tree8b7dd5d5d9f0f994b90dfdceb4796e13028c96b1
parent59f577743d71bf796ceac10961bf6cfa5ca26786
powerpc/64: Allocate pacas per node

Per-node allocations are possible on 64s with radix that does
not have the bolted SLB limitation.

Hash would be able to do the same if all CPUs had the bottom of
their node-local memory bolted as well. This is left as an
exercise for the reader.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
[mpe: Add dummy definition of boot_cpuid for !SMP]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/paca.c
arch/powerpc/kernel/setup_64.c