Skip to content

KVM: VMX: Revert back to refreshing HOST_CR3 at ->run

Sean Christopherson kvm lkml 1 version Applied

Status from this message: Queued, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2Revert "KVM: VMX: Save HOST_CR3 in vmx_set_host_fs_gs()"arch/x86/kvm/vmx/nested.c arch/x86/kvm/vmx/vmx.c arch/x86/kvm/vmx/vmx.h+14 -140 replies
2/2Revert "KVM: VMX: Save HOST_CR3 in vmx_prepare_switch_to_guest()"arch/x86/kvm/vmx/nested.c arch/x86/kvm/vmx/vmx.c+21 -111 reply

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchLai Jiangshan
1/2
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] KVM: VMX: Revert back to refreshing HOST_CR3 at ->run

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

Signature · 1 line
2.35.1.574.g5d30c73bfb-goog