diff options
| author | Andi Kleen <[email protected]> | 2015-02-27 09:48:30 -0800 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2015-04-02 17:33:16 +0200 |
| commit | 8882edf735738c949aba4b65d3ec3453066bab12 (patch) | |
| tree | 03672541d9447ef25d53e568cba669dfb2e94ad8 /net/switchdev/switchdev.c | |
| parent | b37609c30e41264c4df4acff78abfc894499a49b (diff) | |
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 <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions