diff options
| author | Like Xu <likexu@tencent.com> | 2022-05-09 18:22:02 +0800 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-06-08 04:48:35 -0400 |
| commit | 98defd2e17803263f49548fea930cfc974d505aa (patch) | |
| tree | 9698ea3f567700cfefb86447075abe3a6f2aa9f1 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | c49467a45fe013ad7a892bf1479b1438315058f3 (diff) | |
| download | kernel-98defd2e17803263f49548fea930cfc974d505aa.tar.gz | |
KVM: x86/pmu: Ignore pmu->global_ctrl check if vPMU doesn't support global_ctrl
MSR_CORE_PERF_GLOBAL_CTRL is introduced as part of Architecture PMU V2,
as indicated by Intel SDM 19.2.2 and the intel_is_valid_msr() function.
So in the absence of global_ctrl support, all PMCs are enabled as AMD does.
Signed-off-by: Like Xu <likexu@tencent.com>
Message-Id: <20220509102204.62389-1-likexu@tencent.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
