]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86/microcode: Recheck IBRS and IBPB feature on microcode reload
authorTim Chen <tim.c.chen@linux.intel.com>
Mon, 18 Dec 2017 18:37:31 +0000 (10:37 -0800)
committerKirtikar Kashyap <kirtikar.kashyap@oracle.com>
Fri, 12 Jan 2018 18:19:57 +0000 (10:19 -0800)
commit35c0f76f3de95422531c137455f525063f85db42
treea879ebe5660d84444ed12a83e19bd007053e4625
parent6a79d01eaf3790c256ab851125d5c9b9736c3801
x86/microcode: Recheck IBRS and IBPB feature on microcode reload

On new microcode write, check whether IBRS and IBPB features
are present by rescanning scattered CPU features.

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/kernel/cpu/microcode/core.c