]> asedeno.scripts.mit.edu Git - linux.git/commit
powerpc/64s: support nospectre_v2 cmdline option
authorChristopher M. Riedl <cmr@informatik.wtf>
Fri, 24 May 2019 02:46:48 +0000 (21:46 -0500)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 27 Aug 2019 03:03:32 +0000 (13:03 +1000)
commitd8f0e0b073e1ec52a05f0c2a56318b47387d2f10
tree612a9d418874be908ffcd3d5f5ec69d9a468186b
parent6652bf6408895b09d31fd4128a1589a1a0672823
powerpc/64s: support nospectre_v2 cmdline option

Add support for disabling the kernel implemented spectre v2 mitigation
(count cache flush on context switch) via the nospectre_v2 and
mitigations=off cmdline options.

Suggested-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Christopher M. Riedl <cmr@informatik.wtf>
Reviewed-by: Andrew Donnellan <ajd@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20190524024647.381-1-cmr@informatik.wtf
arch/powerpc/kernel/security.c