[PATCH 0/3] KVM: SVM: Clean up LBRv MSRs handling

Sean Christopherson posted 3 patches 2 years, 8 months ago
arch/x86/kvm/svm/svm.c | 63 ++++++++++++++----------------------------
1 file changed, 20 insertions(+), 43 deletions(-)
[PATCH 0/3] KVM: SVM: Clean up LBRv MSRs handling
Posted by Sean Christopherson 2 years, 8 months ago
Eliminate dead KVM_BUG() code in SVM's LBR MSRs virtualization by
refactoring the code to completely remove any need for a KVM_BUG(), and
clean up a few others pieces of related code.

Sean Christopherson (3):
  KVM: SVM: Fix dead KVM_BUG() code in LBR MSR virtualization
  KVM: SVM: Clean up handling of LBR virtualization enabled
  KVM: SVM: Use svm_get_lbr_vmcb() helper to handle writes to DEBUGCTL

 arch/x86/kvm/svm/svm.c | 63 ++++++++++++++----------------------------
 1 file changed, 20 insertions(+), 43 deletions(-)


base-commit: 24ff4c08e5bbdd7399d45f940f10fed030dfadda
-- 
2.41.0.162.gfafddb0af9-goog
Re: [PATCH 0/3] KVM: SVM: Clean up LBRv MSRs handling
Posted by Sean Christopherson 2 years, 6 months ago
On Wed, 07 Jun 2023 13:35:16 -0700, Sean Christopherson wrote:
> Eliminate dead KVM_BUG() code in SVM's LBR MSRs virtualization by
> refactoring the code to completely remove any need for a KVM_BUG(), and
> clean up a few others pieces of related code.
> 
> Sean Christopherson (3):
>   KVM: SVM: Fix dead KVM_BUG() code in LBR MSR virtualization
>   KVM: SVM: Clean up handling of LBR virtualization enabled
>   KVM: SVM: Use svm_get_lbr_vmcb() helper to handle writes to DEBUGCTL
> 
> [...]

Applied to kvm-x86 svm, thanks!

[1/3] KVM: SVM: Fix dead KVM_BUG() code in LBR MSR virtualization
      https://github.com/kvm-x86/linux/commit/d518f8cc10af
[2/3] KVM: SVM: Clean up handling of LBR virtualization enabled
      https://github.com/kvm-x86/linux/commit/41dfb5f13ed9
[3/3] KVM: SVM: Use svm_get_lbr_vmcb() helper to handle writes to DEBUGCTL
      https://github.com/kvm-x86/linux/commit/a85cd52d7205

--
https://github.com/kvm-x86/linux/tree/next
https://github.com/kvm-x86/linux/tree/fixes