Re: [PATCH v3 3/5] x86/enter: Use IBRS on syscall and interrupts
From: Woodhouse, David
Date: Thu Jan 11 2018 - 07:51:11 EST
On Tue, 2018-01-09 at 18:26 -0800, Tim Chen wrote:
> Set IBRS upon kernel entrance via syscall and interrupts. Clear it
> upon exit.Â
In the former set of sites, you're going to want to stuff the RSB too.
The patch I sent out this morning adds the infrastructure you want for
that; we'll just want to shift it from being dependent on RETPOLINE
(both CONFIG_RETPOLINE and X86_FEATURE_RETPOLINE).
Attachment:
smime.p7s
Description: S/MIME cryptographic signature