aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/kvm/vmx
diff options
context:
space:
mode:
authorGravatar Sean Christopherson <seanjc@google.com> 2024-01-09 15:02:49 -0800
committerGravatar Sean Christopherson <seanjc@google.com> 2024-01-30 15:29:46 -0800
commita8a37f5556845b13be2df3d545e7245b574e0ff5 (patch)
treeda45c1e72147404217729ca3dc418e2411607f8b /arch/x86/kvm/vmx
parentKVM: selftests: Add helpers for safe and safe+forced RDMSR, RDPMC, and XGETBV (diff)
downloadlinux-a8a37f5556845b13be2df3d545e7245b574e0ff5.tar.gz
linux-a8a37f5556845b13be2df3d545e7245b574e0ff5.tar.bz2
linux-a8a37f5556845b13be2df3d545e7245b574e0ff5.zip
KVM: selftests: Extend PMU counters test to validate RDPMC after WRMSR
Extend the read/write PMU counters subtest to verify that RDPMC also reads back the written value. Opportunsitically verify that attempting to use the "fast" mode of RDPMC fails, as the "fast" flag is only supported by non-architectural PMUs, which KVM doesn't virtualize. Tested-by: Dapeng Mi <dapeng1.mi@linux.intel.com> Link: https://lore.kernel.org/r/20240109230250.424295-30-seanjc@google.com Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'arch/x86/kvm/vmx')
0 files changed, 0 insertions, 0 deletions