powerpc/pseries: add new branch prediction security bits for link stack
authorNicholas Piggin <npiggin@gmail.com>
Tue, 25 Aug 2020 07:56:12 +0000 (17:56 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 6 Oct 2020 12:22:23 +0000 (23:22 +1100)
commitcdb1ea0276bd6a225aa1203b4829b8c3c0d4d069
tree31dc9ff686fad54b21b63f32e0221c0c57047ba7
parent05504b42562066ae27ce3e7dcec37f81dea476cb
powerpc/pseries: add new branch prediction security bits for link stack

The hypervisor interface has defined branch prediction security bits for
handling the link stack. Wire them up.

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