Commit 5c9a92de authored by Peter Zijlstra (Intel)'s avatar Peter Zijlstra (Intel) Committed by Peter Zijlstra

x86/bugs: Add retbleed=force

Debug aid, allows running retbleed=force,stuff on non-affected uarchs
Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
parent d82a0345
...@@ -838,6 +838,8 @@ static int __init retbleed_parse_cmdline(char *str) ...@@ -838,6 +838,8 @@ static int __init retbleed_parse_cmdline(char *str)
retbleed_cmd = RETBLEED_CMD_STUFF; retbleed_cmd = RETBLEED_CMD_STUFF;
} else if (!strcmp(str, "nosmt")) { } else if (!strcmp(str, "nosmt")) {
retbleed_nosmt = true; retbleed_nosmt = true;
} else if (!strcmp(str, "force")) {
setup_force_cpu_bug(X86_BUG_RETBLEED);
} else { } else {
pr_err("Ignoring unknown retbleed option (%s).", str); pr_err("Ignoring unknown retbleed option (%s).", str);
} }
......
Markdown is supported
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