commit | 3f31ae121348afd9ed39700ea2a63c17cd7eeed1 | [log] [tgz] |
---|---|---|
author | Will Deacon <will.deacon@arm.com> | Tue Mar 06 17:35:55 2012 +0100 |
committer | Russell King <rmk+kernel@arm.linux.org.uk> | Wed Mar 07 09:40:49 2012 +0000 |
tree | ac7b0386088adf865df514a4bef062bd7d072426 | |
parent | f6f5a30c834135c9f2fa10400c59ebbdd9188567 [diff] |
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: <stable@vger.kernel.org> Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>