Messages in this thread | | | From | Jim Mattson <> | Date | Thu, 25 Oct 2018 10:02:08 -0700 | Subject | Re: [PATCH 1/4] kvm, vmx: move CR2 context switch out of assembly path |
| |
On Wed, Oct 24, 2018 at 1:28 AM, Julian Stecklina <jsteckli@amazon.de> 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@amazon.de> > Reviewed-by: Jan H. Schönherr <jschoenh@amazon.de> > Reviewed-by: Konrad Jan Miller <kjm@amazon.de> Reviewed-by: Jim Mattson <jmattson@google.com>
| |