diff options
author | Will Deacon <will.deacon@arm.com> | 2012-03-06 17:35:55 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-03-12 12:31:39 -0700 |
commit | 261d612b2edcb3e8b00ad990b6b81c71e4a5d108 (patch) | |
tree | ed194869f9a07a3c1b6b112d55c6bb0b9d47936d /arch/m32r/kernel | |
parent | 288733a6065034d1870b02b164da0fb2d8452178 (diff) |
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 <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/m32r/kernel')
0 files changed, 0 insertions, 0 deletions