]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitec3ece36b24628e69c18b0e6c4cc5f37926acdad
tree31dc9ff686fad54b21b63f32e0221c0c57047ba7
parent4a764327d634b5fbf9a34462eff252cc17bd74cf
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