]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: VMX: Remove restriction that PMU version > 0 for PERF_CAPABILITIES
authorSean Christopherson <seanjc@google.com>
Fri, 2 Aug 2024 18:55:07 +0000 (11:55 -0700)
committerSean Christopherson <seanjc@google.com>
Fri, 1 Nov 2024 16:22:33 +0000 (09:22 -0700)
commita1039111192b3b8c76c3b1a334b62376df3c2885
treed4c4d012c2ff07ceb1ceac27f81dd49face73c24
parentd75cac366f44174ab09b4d2ef16e70e6e30484e6
KVM: VMX: Remove restriction that PMU version > 0 for PERF_CAPABILITIES

Drop the restriction that the PMU version is non-zero when handling writes
to PERF_CAPABILITIES now that KVM unconditionally checks for PDCM support.

Link: https://lore.kernel.org/r/20240802185511.305849-6-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/vmx/vmx.c