]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86/enter: MACROS to set/clear IBRS and set IBP
authorTim Chen <tim.c.chen@linux.intel.com>
Fri, 22 Dec 2017 00:33:03 +0000 (19:33 -0500)
committerKirtikar Kashyap <kirtikar.kashyap@oracle.com>
Fri, 12 Jan 2018 18:19:54 +0000 (10:19 -0800)
commitaf6af4145a66e3fa30b26527a80ad813cad611b4
treecbbffe61c73d047fa606f76dc735b740194cafcf
parentcea5edba5689e032b17f513d6667b0e5d94e5f05
x86/enter: MACROS to set/clear IBRS and set IBP

Setup macros to control IBRS and 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>
[Backport: In UEK4 it is 'cpufeature.h', not 'cpufeatures.h']

Reviewed-by: John Haxby <john.haxby@oracle.com>
Signed-off-by: Kirtikar Kashyap <kirtikar.kashyap@oracle.com>
arch/x86/include/asm/spec_ctrl.h [new file with mode: 0644]