]> 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)
commit8a71b4d9b3c1a0a98248817c1b8d1186c1e55180
treeada2a1a7758be906d2e8e5dd799bbb74192f22de
parentb9c4ac80a535c50e418429d3edcc1c284b38bf6e
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