]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86: Use better #define for FEATURE_ENABLE_IBRS and 0
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 5 Jan 2018 03:34:14 +0000 (22:34 -0500)
committerKirtikar Kashyap <kirtikar.kashyap@oracle.com>
Fri, 12 Jan 2018 18:20:12 +0000 (10:20 -0800)
commitcf4117d14d6f6007757dad8646d71676fdae2f29
treeefb600a80b3e547e451bd142be16530f15c8de39
parent3f680a602fa204f4a24a68af0487e0b4e9d4ae23
x86: Use better #define for FEATURE_ENABLE_IBRS and 0

Upstream patches use:
 SPEC_CTRL_FEATURE_DISABLE_IBRS for 0
 SPEC_CTRL_FEATURE_ENABLE_IBRS for  1

Lets use those fancy names so that it is easier to look
in the code and compare to upstream.

Orabug: 27344012
CVE: CVE-2017-5715

Reviewed-by: Todd Vierling <todd.vierling@oracle.com>
Acked-by: John Haxby <john.haxby@oracle.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Kirtikar Kashyap <kirtikar.kashyap@oracle.com>
arch/x86/include/asm/mwait.h
arch/x86/include/asm/spec_ctrl.h
arch/x86/include/uapi/asm/msr-index.h
arch/x86/kernel/process.c
arch/x86/kernel/smpboot.c
arch/x86/kvm/svm.c
arch/x86/kvm/vmx.c
include/linux/smp.h
kernel/sysctl.c