diff options
author | Wanpeng Li <wanpengli@tencent.com> | 2021-10-19 11:12:39 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-10-22 12:19:28 +0300 |
commit | 540c7abe61cc5e81a3d17fe02bce94f6cbf9dce0 (patch) | |
tree | edba722c928641ac493ee745d949bf7485c7668b /arch/arm/mach-s5pv210 | |
parent | 610265ea3da117db435868bd109f1861534a5634 (diff) | |
download | linux-540c7abe61cc5e81a3d17fe02bce94f6cbf9dce0.tar.xz |
KVM: vPMU: Fill get_msr MSR_CORE_PERF_GLOBAL_OVF_CTRL w/ 0
SDM section 18.2.3 mentioned that:
"IA32_PERF_GLOBAL_OVF_CTL MSR allows software to clear overflow indicator(s) of
any general-purpose or fixed-function counters via a single WRMSR."
It is R/W mentioned by SDM, we read this msr on bare-metal during perf testing,
the value is always 0 for ICX/SKX boxes on hands. Let's fill get_msr
MSR_CORE_PERF_GLOBAL_OVF_CTRL w/ 0 as hardware behavior and drop
global_ovf_ctrl variable.
Tested-by: Like Xu <likexu@tencent.com>
Signed-off-by: Wanpeng Li <wanpengli@tencent.com>
Message-Id: <1634631160-67276-2-git-send-email-wanpengli@tencent.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/arm/mach-s5pv210')
0 files changed, 0 insertions, 0 deletions