diff options
author | Sean Christopherson <seanjc@google.com> | 2024-08-02 21:55:10 +0300 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2024-11-01 19:22:35 +0300 |
commit | b799e3e7da2c8b2ae03c977307b2f082fac6140e (patch) | |
tree | 13172025e06e7983a91939552779260121299012 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 1ded7a57b8050ea92c0ab0253b11a917ae1427ff (diff) | |
download | linux-b799e3e7da2c8b2ae03c977307b2f082fac6140e.tar.xz |
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/20240802185511.305849-9-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions