aboutsummaryrefslogtreecommitdiff
path: root/arch/m32r/lib
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2018-01-10 03:07:15 +1100
committerMichael Ellerman <mpe@ellerman.id.au>2018-01-10 21:27:15 +1100
commitbc9c9304a45480797e13a8e1df96ffcf44fb62fe (patch)
tree9ada9cf4506fc90eb937cfa892b1cddb9b588818 /arch/m32r/lib
parentaa8a5e0062ac940f7659394f4817c948dc8c0667 (diff)
powerpc/64s: Support disabling RFI flush with no_rfi_flush and nopti
Because there may be some performance overhead of the RFI flush, add kernel command line options to disable it. We add a sensibly named 'no_rfi_flush' option, but we also hijack the x86 option 'nopti'. The RFI flush is not the same as KPTI, but if we see 'nopti' we can guess that the user is trying to avoid any overhead of Meltdown mitigations, and it means we don't have to educate every one about a different command line option. Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/m32r/lib')
0 files changed, 0 insertions, 0 deletions