]> www.infradead.org Git - users/jedix/linux-maple.git/commit
retpoline: call clear_retpoline_fallback() with boot parm spectre_v2_heuristics=off
authorChuck Anderson <chuck.anderson@oracle.com>
Mon, 26 Feb 2018 08:33:53 +0000 (00:33 -0800)
committerChuck Anderson <chuck.anderson@oracle.com>
Sat, 3 Mar 2018 01:58:31 +0000 (17:58 -0800)
commitb55b55d9ac522393e49178704d80a4df73f0b3cd
treec80ec6d97f58203593cfd254a1341662f0458573
parent576845ce0db2cb12621f9e5a57bfa606678ee1f1
retpoline: call clear_retpoline_fallback() with boot parm spectre_v2_heuristics=off

retpoline_fallback=off is one of the spectre_v2_heuristics boot parm
settings.  Disable retpoline fallback when boot parameter
spectre_v2_heuristics=off is specified.

Orabug: 27625404
Signed-off-by: Chuck Anderson <chuck.anderson@oracle.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Reviewed-by: Darren Kenny <darren.kenny@oracle.com>
arch/x86/kernel/cpu/bugs_64.c