UPSTREAM: perf/x86/intel/uncore: Enable EV_SEL_EXT bit for PCU
This patch adds support for the SNB-EP PCU uncore PMU extra_sel_bit
(bit 21) which is missing from the documentation in Table-2.75 of
Intel Xeon Processor E5-2600 Product Family Uncore Performance
Monitoring Guide. It is referred to later in Table-2.81. Without
this selection bit explicitly enabled by the kernel, some events
such as COREx_TRANSITION_CYCLES do not count correctly.
BUG=chromium:474724
TEST=build/boot on Link
Change-Id: Ibc19138be837ee70b32aff4871c8ac2a09051693
Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
Reviewed-by: Stephane Eranian <eranian@google.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link:
http://lkml.kernel.org/r/1376375382-21350-4-git-send-email-zheng.z.yan@intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Sonny Rao <sonnyrao@chromium.org>
(cherry picked from commit 77b339bce3e21f7a069447fc25a414b18e36fa2e)
Reviewed-on: https://chromium-review.googlesource.com/264475
Reviewed-by: Luigi Semenzato <semenzato@chromium.org>