diff options
author | Stephen Boyd <[email protected]> | 2015-02-28 00:11:34 +0000 |
---|---|---|
committer | Will Deacon <[email protected]> | 2015-03-17 18:34:01 +0000 |
commit | 934999185edd613ca80916d238ba7393b84ae53c (patch) | |
tree | 85a117432aada0825a98f07bc5a2c99fa14bd415 /tools/perf/scripts/python | |
parent | 65bab45113a2c5e9f13bc8cc3f6fea92f467d417 (diff) |
ARM: perf: Only reset PMxEVCNTCR registers on reset
The Krait specific PMxEVCNTCR register is unpredictable upon
reset. Currently we clear the register before we setup an event,
but we don't need to do that. Instead, we can iterate through all
the events and clear them once when we reset the PMU, saving a
write in the event setup path.
Cc: Neil Leeder <[email protected]>
Cc: Ashwin Chaugule <[email protected]>
Cc: Sheetal Sahasrabudhe <[email protected]>
Signed-off-by: Stephen Boyd <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions