commit | cea16f8ba783b7d2ef15230c52f62eb6a134b417 | [log] [tgz] |
---|---|---|
author | Suzuki K Poulose <suzuki.poulose@arm.com> | Tue Feb 23 10:49:50 2016 +0000 |
committer | Will Deacon <will.deacon@arm.com> | Mon Feb 29 23:23:16 2016 +0000 |
tree | 91514967fe7ff25f6c4b66e087ae1611766612b0 | |
parent | 1ce6311b99fe809530e8e2181bb73855f85041d1 [diff] |
arm-cci: Add routines to save/restore all counters Adds helper routines to disable the counter controls for all the counters on the CCI PMU and restore it back, by preserving the original state in caller provided mask. Cc: Punit Agrawal <punit.agrawal@arm.com> Acked-by: Olof Johansson <olof@lixom.net> Acked-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>