powerpc/64s/pseries: Fix hash tlbiel_all_isa300 for guest kernels
authorNicholas Piggin <npiggin@gmail.com>
Thu, 26 Nov 2020 10:25:28 +0000 (20:25 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 26 Nov 2020 13:10:39 +0000 (00:10 +1100)
commitc0b27c517acf8a2b359dd373a7e7e88b01a8308e
tree3e09f5a17aa7e3546fdea7e1acfb45e073436a60
parent5844cc25fd121074de7895181a2fa1ce100a0fdd
powerpc/64s/pseries: Fix hash tlbiel_all_isa300 for guest kernels

tlbiel_all() can not be usable in !HVMODE when running hash presently,
remove HV privileged flushes when running in guest to make it usable.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Reviewed-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20201126102530.691335-3-npiggin@gmail.com
arch/powerpc/mm/book3s64/hash_native.c