Commit 7de295e2 authored by Tim Chen's avatar Tim Chen Committed by Marcelo Henrique Cerri

x86/feature: Report presence of IBPB and IBRS control

CVE-2017-5753
CVE-2017-5715

Report presence of IBPB and IBRS.
Signed-off-by: default avatarTim Chen <tim.c.chen@linux.intel.com>
Signed-off-by: default avatarAndy Whitcroft <apw@canonical.com>
(backported from commit e6941d30960ab43adfa0bbb446e73036bfb52842)
Signed-off-by: default avatarAndy Whitcroft <apw@canonical.com>
parent 6d289c83
......@@ -528,6 +528,11 @@ static void init_intel(struct cpuinfo_x86 *c)
detect_vmx_virtcap(c);
init_intel_energy_perf(c);
if (boot_cpu_has(X86_FEATURE_SPEC_CTRL))
printk_once(KERN_INFO "FEATURE SPEC_CTRL Present\n");
else
printk_once(KERN_INFO "FEATURE SPEC_CTRL Not Present\n");
}
#ifdef CONFIG_X86_32
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment