]> git.baikalelectronics.ru Git - kernel.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)
commit72a37b135267039d3d23e1f571d95d43c10acb42
treeada2a1a7758be906d2e8e5dd799bbb74192f22de
parentc0cb75837e17e966f30dc451f29496817ba82f0d
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