Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ARM: 7355/1: perf: clear overflow flag when disabling counter on ARMv…
…7 PMU When disabling a counter on an ARMv7 PMU, we should also clear the overflow flag in case an overflow occurred whilst stopping the counter. This prevents a spurious overflow being picked up later and leading to either false accounting or a NULL dereference. Cc: <[email protected]> Reported-by: Ming Lei <[email protected]> Signed-off-by: Will Deacon <[email protected]> Signed-off-by: Russell King <[email protected]>
- Loading branch information