]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86/mm: Set IBPB upon context switch
authorTim Chen <tim.c.chen@linux.intel.com>
Fri, 22 Dec 2017 02:02:51 +0000 (21:02 -0500)
committerKirtikar Kashyap <kirtikar.kashyap@oracle.com>
Fri, 12 Jan 2018 18:19:55 +0000 (10:19 -0800)
commitf0c867593ede55a01346013ddfd941ad2035d0e7
tree9ea44571f2d69c11a3dde2530a338eb7f723ed8a
parent4963d177f90d0ce4a63c0dcdb86acc9fd4919fca
x86/mm: Set IBPB upon context switch

Set IBPB on context switch with changing of page table.

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 needs an asm/microcode.h to include the native_wrmsrl]

Reviewed-by: John Haxby <john.haxby@oracle.com>
Signed-off-by: Kirtikar Kashyap <kirtikar.kashyap@oracle.com>
arch/x86/include/asm/mmu_context.h