From: Andi Kleen Date: Thu, 4 Sep 2014 23:08:29 +0000 (-0700) Subject: perf/x86/intel/uncore: Fix PCU filter setup for Sandy/Ivy/Haswell EP X-Git-Tag: omap-for-v3.19/prcm-cleanup~97^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b10fc1c3e30c44033d1cb1d2900cc2ab06dff342;p=pandora-kernel.git 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 Signed-off-by: Peter Zijlstra (Intel) Cc: eranian@google.com Link: http://lkml.kernel.org/r/1409872109-31645-5-git-send-email-andi@firstfloor.org Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed