aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorJosh Poimboeuf <[email protected]>2022-02-25 14:31:49 -0800
committerBorislav Petkov <[email protected]>2022-03-05 09:16:24 +0100
commiteafd987d4a82c7bb5aa12f0e3b4f8f3dea93e678 (patch)
treee3900abb0623492d3aa96ccdf8af54bc33544926 /tools/perf/scripts/python/export-to-sqlite.py
parente9b6013a7ce31535b04b02ba99babefe8a8599fa (diff)
x86/speculation: Warn about Spectre v2 LFENCE mitigation
With: f8a66d608a3e ("x86,bugs: Unconditionally allow spectre_v2=retpoline,amd") it became possible to enable the LFENCE "retpoline" on Intel. However, Intel doesn't recommend it, as it has some weaknesses compared to retpoline. Now AMD doesn't recommend it either. It can still be left available as a cmdline option. It's faster than retpoline but is weaker in certain scenarios -- particularly SMT, but even non-SMT may be vulnerable in some cases. So just unconditionally warn if the user requests it on the cmdline. [ bp: Massage commit message. ] Signed-off-by: Josh Poimboeuf <[email protected]> Signed-off-by: Borislav Petkov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions