diff options
author | Sean Christopherson <seanjc@google.com> | 2024-01-09 15:02:49 -0800 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2024-01-30 15:29:46 -0800 |
commit | a8a37f5556845b13be2df3d545e7245b574e0ff5 (patch) | |
tree | da45c1e72147404217729ca3dc418e2411607f8b /tools/testing/selftests/tdx | |
parent | b5e66df34cb0de716859595ce7a4d9d1d015a695 (diff) |
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 'tools/testing/selftests/tdx')
0 files changed, 0 insertions, 0 deletions