diff options
author | Like Xu <likexu@tencent.com> | 2022-05-09 13:22:02 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-08-21 16:16:22 +0300 |
commit | b788508a09901b1324ae3afe8aa0897e380422af (patch) | |
tree | ab4dbeb631ffd4c9103a039ae1ad46e82245ea6e /drivers/block/xen-blkback | |
parent | 6b4addec2f2d68ed774b4b7b6264419b15aee3b0 (diff) | |
download | linux-b788508a09901b1324ae3afe8aa0897e380422af.tar.xz |
KVM: x86/pmu: Ignore pmu->global_ctrl check if vPMU doesn't support global_ctrl
[ Upstream commit 98defd2e17803263f49548fea930cfc974d505aa ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/block/xen-blkback')
0 files changed, 0 insertions, 0 deletions