aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2022-06-11 00:57:54 +0000
committerPaolo Bonzini <pbonzini@redhat.com>2022-06-20 11:50:26 -0400
commit157fc497b54fd1dfcdedbca6199adca4bf5ee6ff (patch)
treef34f3aae9198f2ddae0eef37b347989494fc100c /tools/perf/scripts/python/bin
parentKVM: VMX: Use vcpu_get_perf_capabilities() to get guest-visible value (diff)
downloadlinux-157fc497b54fd1dfcdedbca6199adca4bf5ee6ff.tar.gz
linux-157fc497b54fd1dfcdedbca6199adca4bf5ee6ff.zip
KVM: x86: Ignore benign host accesses to "unsupported" PEBS and BTS MSRs
Ignore host userspace reads and writes of '0' to PEBS and BTS MSRs that KVM reports in the MSR-to-save list, but the MSRs are ultimately unsupported. All MSRs in said list must be writable by userspace, e.g. if userspace sends the list back at KVM without filtering out the MSRs it doesn't need. Fixes: 8183a538cd95 ("KVM: x86/pmu: Add IA32_DS_AREA MSR emulation to support guest DS") Fixes: 902caeb6841a ("KVM: x86/pmu: Add PEBS_DATA_CFG MSR emulation to support adaptive PEBS") Fixes: c59a1f106f5c ("KVM: x86/pmu: Add IA32_PEBS_ENABLE MSR emulation for extended PEBS") Signed-off-by: Sean Christopherson <seanjc@google.com> Message-Id: <20220611005755.753273-7-seanjc@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions