diff options
author | Andi Kleen <ak@linux.intel.com> | 2014-09-04 16:08:29 -0700 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2014-09-24 14:48:24 +0200 |
commit | b10fc1c3e30c44033d1cb1d2900cc2ab06dff342 (patch) | |
tree | cd65fb437c894bd7ba3fab0fbc7ccad09d8fbe61 /include/linux/hid-debug.h | |
parent | 7e96ae1a8915e7064091ab75857f8c63334ea28d (diff) |
perf/x86/intel/uncore: Fix PCU filter setup for Sandy/Ivy/Haswell EP
The PCU frequency band filters use 8 bit each in a register.
When setting up the value the shift value was not correctly
scaled, which resulted in all filters except for band 0 to
be zero. Fix the scaling.
This allows to correctly monitor multiple uncore frequency bands.
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: eranian@google.com
Link: http://lkml.kernel.org/r/1409872109-31645-5-git-send-email-andi@firstfloor.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/linux/hid-debug.h')
0 files changed, 0 insertions, 0 deletions