diff options
author | 2018-06-12 19:38:08 +1000 | |
---|---|---|
committer | 2018-06-20 09:13:25 +1000 | |
commit | 758380b8155f69b4e2f77f27562f8a7a466749d6 (patch) | |
tree | 0af02cb69c005b84975989068e21693134f50b1b /arch/powerpc/include/asm/nohash/64/pgalloc.h | |
parent | powerpc/64s: Fix build failures with CONFIG_NMI_IPI=n (diff) | |
download | linux-dev-758380b8155f69b4e2f77f27562f8a7a466749d6.tar.xz linux-dev-758380b8155f69b4e2f77f27562f8a7a466749d6.zip |
powerpc/64s/radix: Fix radix_kvm_prefetch_workaround paca access of not possible CPU
If possible CPUs are limited (e.g., by kexec), then the kvm prefetch
workaround function can access the paca pointer for a !possible CPU.
Fixes: d2e60075a3d44 ("powerpc/64: Use array of paca pointers and allocate pacas individually")
Cc: stable@kernel.org
Reported-by: Pridhiviraj Paidipeddi <ppaidipe@linux.vnet.ibm.com>
Tested-by: Pridhiviraj Paidipeddi <ppaidipe@linux.vnet.ibm.com>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/include/asm/nohash/64/pgalloc.h')
0 files changed, 0 insertions, 0 deletions