summaryrefslogtreecommitdiff
path: root/arch/x86/events/perf_event.h
diff options
context:
space:
mode:
authorLike Xu <like.xu@linux.intel.com>2022-04-11 18:19:34 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2022-06-08 04:47:50 -0400
commit2c985527dd8d283e786ad7a67e532ef7f6f00fac (patch)
treede3fdf40d30635496f6068b302a2fea6f89856c3 /arch/x86/events/perf_event.h
parentbef6ecca46ac938ffb352d7fa2f6eafd1b6a41be (diff)
KVM: x86/pmu: Introduce the ctrl_mask value for fixed counter
The mask value of fixed counter control register should be dynamic adjusted with the number of fixed counters. This patch introduces a variable that includes the reserved bits of fixed counter control registers. This is a generic code refactoring. Co-developed-by: Luwei Kang <luwei.kang@intel.com> Signed-off-by: Luwei Kang <luwei.kang@intel.com> Signed-off-by: Like Xu <like.xu@linux.intel.com> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Message-Id: <20220411101946.20262-6-likexu@tencent.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/events/perf_event.h')
0 files changed, 0 insertions, 0 deletions