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.2.10~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=261d612b2edcb3e8b00ad990b6b81c71e4a5d108;p=pandora-kernel.git ARM: 7357/1: perf: fix overflow handling for xscale2 PMUs commit 3f31ae121348afd9ed39700ea2a63c17cd7eeed1 upstream. 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. Signed-off-by: Will Deacon Signed-off-by: Russell King Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed