]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86/feature: Enable the x86 feature to control
authorTim Chen <tim.c.chen@linux.intel.com>
Fri, 22 Dec 2017 00:25:52 +0000 (19:25 -0500)
committerKirtikar Kashyap <kirtikar.kashyap@oracle.com>
Fri, 12 Jan 2018 18:19:54 +0000 (10:19 -0800)
commitab4b8e936b7de1b7f839baaace5890e366e0a029
treed8952f64f9073d6d4c5573aba8ca4c9fc49db005
parentab0da8d7de307116642693906d632823c96873d5
x86/feature: Enable the x86 feature to control

cpuid ax=0x7, return rdx bit 26 to indicate presence of this feature
IA32_SPEC_CTRL (0x48) and IA32_PRED_CMD (0x49)
IA32_SPEC_CTRL, bit0 – Indirect Branch Restricted Speculation (IBRS)
IA32_PRED_CMD,  bit0 – Indirect Branch Prediction Barrier (IBPB)

Orabug: 27344012
CVE: CVE-2017-5715

Signed-off-by: Tim Chen <tim.c.chen@linux.intel.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Reviewed-by: John Haxby <john.haxby@oracle.com>
Signed-off-by: Kirtikar Kashyap <kirtikar.kashyap@oracle.com>
arch/x86/include/asm/cpufeature.h
arch/x86/include/uapi/asm/msr-index.h
arch/x86/kernel/cpu/scattered.c