diff options
author | Like Xu <likexu@tencent.com> | 2022-05-10 12:44:07 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-06-08 04:48:32 -0400 |
commit | c49467a45fe013ad7a892bf1479b1438315058f3 (patch) | |
tree | 84102f4ec19e0637449a37cdb3fe182ba8003857 /arch/mips/sgi-ip27/Platform | |
parent | ec4036edf924f741bc717d9afa25053cf63fa218 (diff) |
KVM: x86/pmu: Don't overwrite the pmu->global_ctrl when refreshing
Assigning a value to pmu->global_ctrl just to set the value of
pmu->global_ctrl_mask is more readable but does not conform to the
specification. The value is reset to zero on Power up and Reset but
stays unchanged on INIT, like most other MSRs.
Signed-off-by: Like Xu <likexu@tencent.com>
Message-Id: <20220510044407.26445-1-likexu@tencent.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/mips/sgi-ip27/Platform')
0 files changed, 0 insertions, 0 deletions