mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
x86/bugs: Add retbleed=force
Debug aid, allows running retbleed=force,stuff on non-affected uarchs Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
This commit is contained in:
parent
d82a0345cf
commit
5c9a92dec3
1 changed files with 2 additions and 0 deletions
|
@ -838,6 +838,8 @@ static int __init retbleed_parse_cmdline(char *str)
|
|||
retbleed_cmd = RETBLEED_CMD_STUFF;
|
||||
} else if (!strcmp(str, "nosmt")) {
|
||||
retbleed_nosmt = true;
|
||||
} else if (!strcmp(str, "force")) {
|
||||
setup_force_cpu_bug(X86_BUG_RETBLEED);
|
||||
} else {
|
||||
pr_err("Ignoring unknown retbleed option (%s).", str);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue