Skip to content

Commit 74cba46

Browse files
heftigxdevs23
authored andcommitted
fixup! x86/cpu: Help users notice when running old Intel microcode
Remove unused X86_BUG_SPECTRE_V2_USER. Signed-off-by: Simão Gomes Viana <[email protected]>
1 parent 8d73dab commit 74cba46

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

arch/x86/include/asm/cpufeatures.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -535,6 +535,5 @@
535535
#define X86_BUG_RFDS X86_BUG(1*32 + 2) /* "rfds" CPU is vulnerable to Register File Data Sampling */
536536
#define X86_BUG_BHI X86_BUG(1*32 + 3) /* "bhi" CPU is affected by Branch History Injection */
537537
#define X86_BUG_IBPB_NO_RET X86_BUG(1*32 + 4) /* "ibpb_no_ret" IBPB omits return target predictions */
538-
#define X86_BUG_SPECTRE_V2_USER X86_BUG(1*32 + 5) /* "spectre_v2_user" CPU is affected by Spectre variant 2 attack between user processes */
539-
#define X86_BUG_OLD_MICROCODE X86_BUG(1*32 + 6) /* "old_microcode" CPU has old microcode, it is surely vulnerable to something */
538+
#define X86_BUG_OLD_MICROCODE X86_BUG(1*32 + 5) /* "old_microcode" CPU has old microcode, it is surely vulnerable to something */
540539
#endif /* _ASM_X86_CPUFEATURES_H */

0 commit comments

Comments
 (0)