]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86/spec/ia32: Sprinkle IBRS and RSB at the 32-bit SYSCALL
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tue, 9 Jan 2018 03:58:20 +0000 (22:58 -0500)
committerKirtikar Kashyap <kirtikar.kashyap@oracle.com>
Fri, 12 Jan 2018 18:25:28 +0000 (10:25 -0800)
commitd70e64daf839dbbcd534c982f2df2035f5a3f518
tree6719d77123b70e3bd5cff7d60f5bb94d573724d3
parenteadbbc7a6770cd41ee761d2956205a2e30367753
x86/spec/ia32: Sprinkle IBRS and RSB at the 32-bit SYSCALL

We missed them in the first round of backporting.

Also move the DISABLE_IBRS _after_ the trace_hardirqs_on_caller
call.

Orabug: 27344012
CVE:CVE-2017-5715

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
---
v2: Move the DISABLE_IBRS after the TRACE_HARDIRQ macro
    Move the ENABLE_IBRS up

Signed-off-by: Brian Maly <brian.maly@oracle.com>
Signed-off-by: Kirtikar Kashyap <kirtikar.kashyap@oracle.com>
arch/x86/ia32/ia32entry.S