diff options
author | Andi Kleen <ak@linux.intel.com> | 2015-02-27 20:48:30 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2015-04-02 18:33:16 +0300 |
commit | 8882edf735738c949aba4b65d3ec3453066bab12 (patch) | |
tree | 03672541d9447ef25d53e568cba669dfb2e94ad8 /COPYING | |
parent | b37609c30e41264c4df4acff78abfc894499a49b (diff) | |
download | linux-8882edf735738c949aba4b65d3ec3453066bab12.tar.xz |
perf/x86/intel: Reset more state in PMU reset
The PMU reset code didn't quite keep up with newer PMU features.
Improve it a bit to really reset a modern PMU:
- Clear all overflow status
- Clear LBRs and freezing state
- Disable fixed counters too
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: eranian@google.com
Link: http://lkml.kernel.org/r/1425059312-18217-2-git-send-email-andi@firstfloor.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions