From: Will Deacon Date: Tue, 6 Mar 2012 16:35:55 +0000 (+0100) Subject: ARM: 7357/1: perf: fix overflow handling for xscale2 PMUs X-Git-Tag: v3.3-rc7~18^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f31ae121348afd9ed39700ea2a63c17cd7eeed1;p=pandora-kernel.git ARM: 7357/1: perf: fix overflow handling for xscale2 PMUs xscale2 PMUs indicate overflow not via the PMU control register, but by a separate overflow FLAG register instead. This patch fixes the xscale2 PMU code to use this register to detect to overflow and ensures that we clear any pending overflow when disabling a counter. Cc: Signed-off-by: Will Deacon Signed-off-by: Russell King --- Reading git-diff-tree failed