From dd4f8f186170e0532aea3126a7c50e95eb5a8d84 Mon Sep 17 00:00:00 2001 From: Burt P Date: Thu, 25 Jan 2018 19:07:12 -0600 Subject: x86: metldown and spectre bug flags Signed-off-by: Burt P --- modules/devices/x86/x86_data.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'modules/devices/x86') diff --git a/modules/devices/x86/x86_data.c b/modules/devices/x86/x86_data.c index eb8ba3eb..c052f4e1 100644 --- a/modules/devices/x86/x86_data.c +++ b/modules/devices/x86/x86_data.c @@ -278,7 +278,10 @@ static struct { { "bug:swapgs_fence", NC_("x86-flag", /*/bug:swapgs_fence*/ "SWAPGS without input dep on GS") }, { "bug:monitor", NC_("x86-flag", /*/bug:monitor*/ "IPI required to wake up remote CPU") }, { "bug:amd_e400", NC_("x86-flag", /*/bug:amd_e400*/ "AMD Erratum 400") }, - { "bug:cpu_insecure", NC_("x86-flag", /*/bug:cpu_insecure*/ "Page table isolation is being used") }, + { "bug:cpu_insecure", NC_("x86-flag", /*/bug:cpu_insecure & bug:cpu_meltdown*/ "CPU is affected by meltdown attack and needs kernel page table isolation") }, + { "bug:cpu_meltdown", NC_("x86-flag", /*/bug:cpu_insecure & bug:cpu_meltdown*/ "CPU is affected by meltdown attack and needs kernel page table isolation") }, + { "bug:spectre_v1", NC_("x86-flag", /*/bug:spectre_v1*/ "CPU is affected by Spectre variant 1 attack with conditional branches") }, + { "bug:spectre_v2", NC_("x86-flag", /*/bug:spectre_v2*/ "CPU is affected by Spectre variant 2 attack with indirect branches") }, /* power management * ... from arch/x86/kernel/cpu/powerflags.h */ { "pm:ts", NC_("x86-flag", /*/flag:pm:ts*/ "temperature sensor") }, -- cgit v1.2.3