[PATCH 0/2] KVM: VMX: Revert back to refreshing HOST_CR3 at ->run
From: Sean Christopherson
Date: Thu Feb 24 2022 - 14:19:29 EST
Revert back to refreshing vmcs.HOST_CR3 in vmx_vcpu_run(), the PCID in
CR3 can be bumped in KVM context if KVM triggers code patching of any
kind, e.g. when updating the apic_hw_disabled static key in response to
a WRMSR(APIC_BASE).
Sean Christopherson (2):
Revert "KVM: VMX: Save HOST_CR3 in vmx_set_host_fs_gs()"
Revert "KVM: VMX: Save HOST_CR3 in vmx_prepare_switch_to_guest()"
arch/x86/kvm/vmx/nested.c | 11 ++++++++---
arch/x86/kvm/vmx/vmx.c | 28 +++++++++++++++++-----------
arch/x86/kvm/vmx/vmx.h | 5 ++---
3 files changed, 27 insertions(+), 17 deletions(-)
base-commit: 8b9c948fd3c1cbd8fed00646e11651cf3d4c86cc
--
2.35.1.574.g5d30c73bfb-goog