Re: [RFC 10/10] x86/enter: Use IBRS on syscall and interrupts
From: KarimAllah Ahmed
Date: Sun Jan 21 2018 - 09:41:12 EST
On 01/21/2018 02:50 PM, Konrad Rzeszutek Wilk wrote:
On Sat, Jan 20, 2018 at 08:23:01PM +0100, KarimAllah Ahmed wrote:
From: Tim Chen <tim.c.chen@xxxxxxxxxxxxxxx>
Stop Indirect Branch Speculation on every user space to kernel space
transition and reenable it when returning to user space./
How about interrupts?
That is should .macro interrupt have the same treatment?
RESTRICT_IB_SPEC is called in switch_to_thread_stack which is almost the
first thing called from ".macro interrupt".
Amazon Development Center Germany GmbH
Berlin - Dresden - Aachen
main office: Krausenstr. 38, 10117 Berlin
Geschaeftsfuehrer: Dr. Ralf Herbrich, Christian Schlaeger
Ust-ID: DE289237879
Eingetragen am Amtsgericht Charlottenburg HRB 149173 B