On Wed, Oct 24, 2018 at 1:28 AM, Julian Stecklina <jsteckli@xxxxxxxxx> wrote: > The VM entry/exit path is a giant inline assembly statement. Simplify it > by doing CR2 context switching in plain C. Move CR2 restore behind IBRS > clearing, so we reduce the amount of code we execute with IBRS on. > > Signed-off-by: Julian Stecklina <jsteckli@xxxxxxxxx> > Reviewed-by: Jan H. Schönherr <jschoenh@xxxxxxxxx> > Reviewed-by: Konrad Jan Miller <kjm@xxxxxxxxx> Reviewed-by: Jim Mattson <jmattson@xxxxxxxxxx>