Re: [PATCH 1/4] kvm, vmx: move CR2 context switch out of assembly path
From: Jim Mattson
Date: Thu Oct 25 2018 - 13:02:13 EST
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>