summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/x86.c
diff options
context:
space:
mode:
authorLike Xu <like.xu@linux.intel.com>2020-12-30 16:19:16 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2021-01-25 18:52:07 -0500
commit98dd2f108e448988d91e296173e773b06fb978b8 (patch)
tree3ae3af84bf31ee541c1bd2671668f1b648d675c9 /arch/x86/kvm/x86.c
parente61ab2a320c3dfd6209efe18a575979e07470597 (diff)
downloadlinux-98dd2f108e448988d91e296173e773b06fb978b8.tar.bz2
KVM: x86/pmu: Fix HW_REF_CPU_CYCLES event pseudo-encoding in intel_arch_events[]
The HW_REF_CPU_CYCLES event on the fixed counter 2 is pseudo-encoded as 0x0300 in the intel_perfmon_event_map[]. Correct its usage. Fixes: 62079d8a4312 ("KVM: PMU: add proper support for fixed counter 2") Signed-off-by: Like Xu <like.xu@linux.intel.com> Message-Id: <20201230081916.63417-1-like.xu@linux.intel.com> Reviewed-by: Sean Christopherson <seanjc@google.com> Cc: stable@vger.kernel.org Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/x86.c')
0 files changed, 0 insertions, 0 deletions