KVM: selftests: Assert that full-width PMC writes are supported if PDCM=1
authorSean Christopherson <seanjc@google.com>
Sat, 11 Mar 2023 00:46:07 +0000 (16:46 -0800)
committerSean Christopherson <seanjc@google.com>
Thu, 6 Apr 2023 21:58:43 +0000 (14:58 -0700)
commitb1b705627cb3c23333e04637d7a90833b560584e
tree5b0c35330f6bf99fdb94767121b3644ad7b7b33f
parent710fb612672e0c05fe3f56fb4e81fae22ef492a2
KVM: selftests: Assert that full-width PMC writes are supported if PDCM=1

KVM emulates full-width PMC writes in software, assert that KVM reports
full-width writes as supported if PERF_CAPABILITIES is supported.

Link: https://lore.kernel.org/r/20230311004618.920745-11-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
tools/testing/selftests/kvm/x86_64/vmx_pmu_caps_test.c