]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86/spec_ctrl: Add missing 'lfence' when IBRS is not supported.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tue, 9 Jan 2018 14:43:10 +0000 (09:43 -0500)
committerKirtikar Kashyap <kirtikar.kashyap@oracle.com>
Fri, 12 Jan 2018 18:25:30 +0000 (10:25 -0800)
commitfeadf496426566a1a0850d0ad3de06112fbf6b73
treeda72773e2c3e73c1da887a333959c70f5f3c99c5
parent4c7c436d65ce884feeb126edfd7b1b1824c3fdfd
x86/spec_ctrl: Add missing 'lfence' when IBRS is not supported.

As a way for machines without the speculation MSR to thwart
the speculation engine (along with the stuffing of RSBs).

Orabug: 27344012
CVE:CVE-2017-5715

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Brian Maly <brian.maly@oracle.com>
Signed-off-by: Kirtikar Kashyap <kirtikar.kashyap@oracle.com>
arch/x86/include/asm/spec_ctrl.h