Messages in this thread |  | | From | Jim Mattson <> | Date | Tue, 28 Jan 2020 13:59:28 -0800 | Subject | Re: [PATCH] KVM: x86: Fix perfctr WRMSR for running counters |
| |
On Mon, Jan 27, 2020 at 1:23 PM Eric Hankland <ehankland@google.com> wrote: > > Correct the logic in intel_pmu_set_msr() for fixed and general purpose > counters. This was recently changed to set pmc->counter without taking > in to account the value of pmc_read_counter() which will be incorrect if > the counter is currently running and non-zero; this changes back to the > old logic which accounted for the value of currently running counters. > > Signed-off-by: Eric Hankland <ehankland@google.com>
Fixes: 2924b52117b2 ("KVM: x86/pmu: do not mask the value that is written to fixed PMUs")
Reviewed-by: Jim Mattson <jmattson@google.com>
|  |