Skip to content

KVM: nVMX: A few TLB flushing fixes

Yosry Ahmed kvm lkml stable 1 version Applied

Status from this message: Applied to kvm-x86 misc, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 13 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3KVM: nVMX: Always flush vpid02 on first usearch/x86/kvm/vmx/nested.c+10 -09 replies
2/3KVM: nVMX: Decouple INVVPID operand checks from flushing of vpid02arch/x86/kvm/vmx/nested.c+13 -302 replies
3/3KVM: nVM: Ensure INVVPID is emulated on the correct physical CPUarch/x86/kvm/vmx/nested.c+10 -11 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchJim MattsonKai Huang
1/3R-b R-b
2/3R-b
3/3R-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/3] KVM: nVMX: A few TLB flushing fixes

Fix a couple of issues surfaced while working on TLB optimizations for nSVM. I did not add a Reported-by tag for Sashiko, because in both instances Sashiko did not report the problem (or the nSVM equivalent), but it spit out a false positive that lead to finding the problems (and I don't know how to capture that).

Sean Christopherson (1):
KVM: nVMX: Decouple INVVPID operand checks from flushing of vpid02

Yosry Ahmed (2):
KVM: nVMX: Always flush vpid02 on first use
KVM: nVM: Ensure INVVPID is emulated on the correct physical CPU

 arch/x86/kvm/vmx/nested.c | 62 ++++++++++++++++++++-------------------
 1 file changed, 32 insertions(+), 30 deletions(-)

base-commit: c1f7303302927f9cbf4efedf70f0512cde168c65

Signature · 1 line
2.54.0.1136.gdb2ca164c4-goog