We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4b5a5c commit f8a66d6Copy full SHA for f8a66d6
arch/x86/kernel/cpu/bugs.c
@@ -882,13 +882,6 @@ static enum spectre_v2_mitigation_cmd __init spectre_v2_parse_cmdline(void)
882
return SPECTRE_V2_CMD_AUTO;
883
}
884
885
- if (cmd == SPECTRE_V2_CMD_RETPOLINE_AMD &&
886
- boot_cpu_data.x86_vendor != X86_VENDOR_HYGON &&
887
- boot_cpu_data.x86_vendor != X86_VENDOR_AMD) {
888
- pr_err("retpoline,amd selected but CPU is not AMD. Switching to AUTO select\n");
889
- return SPECTRE_V2_CMD_AUTO;
890
- }
891
-
892
spec_v2_print_cond(mitigation_options[i].option,
893
mitigation_options[i].secure);
894
return cmd;
0 commit comments