File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 341
341
#define X86_BUG_SWAPGS_FENCE X86_BUG(11) /* SWAPGS without input dep on GS */
342
342
#define X86_BUG_MONITOR X86_BUG(12) /* IPI required to wake up remote CPU */
343
343
#define X86_BUG_AMD_E400 X86_BUG(13) /* CPU is among the affected by Erratum 400 */
344
- #define X86_BUG_CPU_INSECURE X86_BUG(14) /* CPU is insecure and needs kernel page table isolation */
344
+ #define X86_BUG_CPU_MELTDOWN X86_BUG(14) /* CPU is affected by meltdown attack and needs kernel page table isolation */
345
345
346
346
#endif /* _ASM_X86_CPUFEATURES_H */
Original file line number Diff line number Diff line change @@ -900,7 +900,7 @@ static void __init early_identify_cpu(struct cpuinfo_x86 *c)
900
900
setup_force_cpu_cap (X86_FEATURE_ALWAYS );
901
901
902
902
if (c -> x86_vendor != X86_VENDOR_AMD )
903
- setup_force_cpu_bug (X86_BUG_CPU_INSECURE );
903
+ setup_force_cpu_bug (X86_BUG_CPU_MELTDOWN );
904
904
905
905
fpu__init_system (c );
906
906
Original file line number Diff line number Diff line change 56
56
57
57
static void __init pti_print_if_insecure (const char * reason )
58
58
{
59
- if (boot_cpu_has_bug (X86_BUG_CPU_INSECURE ))
59
+ if (boot_cpu_has_bug (X86_BUG_CPU_MELTDOWN ))
60
60
pr_info ("%s\n" , reason );
61
61
}
62
62
63
63
static void __init pti_print_if_secure (const char * reason )
64
64
{
65
- if (!boot_cpu_has_bug (X86_BUG_CPU_INSECURE ))
65
+ if (!boot_cpu_has_bug (X86_BUG_CPU_MELTDOWN ))
66
66
pr_info ("%s\n" , reason );
67
67
}
68
68
@@ -96,7 +96,7 @@ void __init pti_check_boottime_disable(void)
96
96
}
97
97
98
98
autosel :
99
- if (!boot_cpu_has_bug (X86_BUG_CPU_INSECURE ))
99
+ if (!boot_cpu_has_bug (X86_BUG_CPU_MELTDOWN ))
100
100
return ;
101
101
enable :
102
102
setup_force_cpu_cap (X86_FEATURE_PTI );
You can’t perform that action at this time.
0 commit comments