Skip to content
Commit bc9c9304 authored by Michael Ellerman's avatar Michael Ellerman
Browse files

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: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent aa8a5e00
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment