diff options
author | Sean Christopherson <[email protected]> | 2024-08-02 11:55:10 -0700 |
---|---|---|
committer | Sean Christopherson <[email protected]> | 2024-11-01 09:22:35 -0700 |
commit | b799e3e7da2c8b2ae03c977307b2f082fac6140e (patch) | |
tree | 13172025e06e7983a91939552779260121299012 /tools/perf/util/trace-event-scripting.c | |
parent | 1ded7a57b8050ea92c0ab0253b11a917ae1427ff (diff) |
KVM: selftests: Verify get/set PERF_CAPABILITIES w/o guest PDMC behavior
Add another testcase to x86's PMU capabilities test to verify that KVM's
handling of userspace accesses to PERF_CAPABILITIES when the vCPU doesn't
support the MSR (per the vCPU's CPUID). KVM's (newly established) ABI is
that userspace MSR accesses are subject to architectural existence checks,
but that if the MSR is advertised as supported _by KVM_, "bad" reads get
'0' and writes of '0' are always allowed.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions