]> asedeno.scripts.mit.edu Git - linux.git/commit
powerpc/64s: Allocate LPPACAs individually
authorNicholas Piggin <npiggin@gmail.com>
Tue, 13 Feb 2018 15:08:13 +0000 (01:08 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 30 Mar 2018 12:34:24 +0000 (23:34 +1100)
commit499dcd41378ebab2a37a0df65735748d66e75599
treeada2a1a7758be906d2e8e5dd799bbb74192f22de
parentd2e60075a3d4422dc54b919f3b125d8066b839d4
powerpc/64s: Allocate LPPACAs individually

We no longer allocate lppacas in an array, so this patch removes the
1kB static alignment for the structure, and enforces the PAPR
alignment requirements at allocation time. We can not reduce the 1kB
allocation size however, due to existing KVM hypervisors.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/lppaca.h
arch/powerpc/kernel/machine_kexec_64.c
arch/powerpc/kernel/paca.c
arch/powerpc/kvm/book3s_hv.c
arch/powerpc/mm/numa.c
arch/powerpc/platforms/pseries/kexec.c