]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/security: Add a security feature for STF barrier
authorNicholas Piggin <npiggin@gmail.com>
Mon, 3 May 2021 13:02:41 +0000 (23:02 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 21 Jun 2021 11:13:19 +0000 (21:13 +1000)
commit88632ca22cfef7cd832ccf6c72257d44f8db90d8
treec57be6639b730d5a84d556460bc92319e1085816
parent5fb46fc9fd40e5074774b24dd4d260a251bfbc6b
powerpc/security: Add a security feature for STF barrier

Rather than tying this mitigation to RFI L1D flush requirement, add a
new bit for it.

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-3-npiggin@gmail.com
arch/powerpc/include/asm/security_features.h
arch/powerpc/kernel/security.c