Skip to content
Commit a8a37f55 authored by Sean Christopherson's avatar Sean Christopherson
Browse files

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: default avatarDapeng Mi <dapeng1.mi@linux.intel.com>
Link: https://lore.kernel.org/r/20240109230250.424295-30-seanjc@google.com
Signed-off-by: default avatarSean Christopherson <seanjc@google.com>
parent b5e66df3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment