Skip to content

LBR virtualization fixes

Yosry Ahmed stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5KVM: SVM: Introduce svm_recalc_lbr_msr_intercepts()arch/x86/kvm/svm/svm.c+21 -110 replies
2/5KVM: SVM: Mark VMCB_LBR dirty when MSR_IA32_DEBUGCTLMSR is updatedarch/x86/kvm/svm/svm.c+4 -00 replies
3/5KVM: nSVM: Always recalculate LBR MSR intercepts in svm_update_lbrv()arch/x86/kvm/svm/svm.c+19 -100 replies
4/5KVM: nSVM: Fix and simplify LBR virtualization handling with nestedarch/x86/kvm/svm/nested.c arch/x86/kvm/svm/svm.c+17 -500 replies
5/5KVM: SVM: Fix redundant updates of LBR MSR interceptsarch/x86/kvm/svm/svm.c arch/x86/kvm/svm/svm.h+7 -00 replies

Reviews trailers per patch

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

PatchSean Christopherson
1/5
2/5
3/5
4/5
5/5R-b T-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 6.12.y 0/5] LBR virtualization fixes

This is a backport of LBR virtualization fixes that recently landed in Linus's tree to 6.12.y.

Patch 1 is not a backport, it's introducing a helper that exists in Linus's tree to make the following backports more straightforward to apply.

Patch 2 should already be in queue-6.12, but it's included here as the remaining patches depend on it.

Yosry Ahmed (5):
KVM: SVM: Introduce svm_recalc_lbr_msr_intercepts()
KVM: SVM: Mark VMCB_LBR dirty when MSR_IA32_DEBUGCTLMSR is updated
KVM: nSVM: Always recalculate LBR MSR intercepts in svm_update_lbrv()
KVM: nSVM: Fix and simplify LBR virtualization handling with nested
KVM: SVM: Fix redundant updates of LBR MSR intercepts

 arch/x86/kvm/svm/nested.c | 20 +++-----
 arch/x86/kvm/svm/svm.c    | 96 ++++++++++++++++++++-------------------
 arch/x86/kvm/svm/svm.h    |  1 +
 3 files changed, 57 insertions(+), 60 deletions(-)
Signature · 1 line
2.52.0.rc2.455.g230fcf2819-goog