powerpc/pseries: Get entry and uaccess flush required bits from H_GET_CPU_CHARACTERISTICS
authorNicholas Piggin <npiggin@gmail.com>
Mon, 3 May 2021 13:02:40 +0000 (23:02 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 Jan 2022 08:17:52 +0000 (09:17 +0100)
commitf50803b519c3375df984c2d5717c076d653ae9fb
tree271b3069e63a6ee7c2692d9b703006d5f0202e01
parent68c1aa82be00465700ef6d68dd24dd2a33553f34
powerpc/pseries: Get entry and uaccess flush required bits from H_GET_CPU_CHARACTERISTICS

commit 65c7d070850e109a8a75a431f5a7f6eb4c007b77 upstream.

This allows the hypervisor / firmware to describe these workarounds to
the guest.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210503130243.891868-2-npiggin@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/powerpc/include/asm/hvcall.h
arch/powerpc/platforms/pseries/setup.c