Re: [patch V2 0/7] x86/kvm: RCU/context tracking and instrumentation protections

From: Paolo Bonzini
Date: Wed Jul 08 2020 - 16:28:59 EST


On 08/07/20 21:51, Thomas Gleixner wrote:
> Folks,
>
> this is a rebased and adopted version of the original series which is
> available here:
>
> https://lore.kernel.org/r/20200519203128.773151484@xxxxxxxxxxxxx
>
> It deals with the RCU and context tracking state and the protection against
> instrumentation in sensitive places:
>
> - Placing the guest_enter/exit() calls at the correct place
>
> - Moving the sensitive VMENTER/EXIT code into the non-instrumentable code
> section.
>
> - Fixup the tracing code to comply with the non-instrumentation rules
>
> - Use native functions to access CR2 and the GS base MSR in the critical
> code pathes to prevent them from being instrumented.
>
> Thanks,
>
> tglx
>

Queued, thanks.

Paolo