summaryrefslogtreecommitdiff
path: root/kernel/perf_counter.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-05-26 08:10:00 +0200
committerIngo Molnar <mingo@elte.hu>2009-05-26 09:52:03 +0200
commitaaba98018b8295dfa2119345d17f833d74448cd0 (patch)
tree680995e29b5fde045340dbddf3a22f23e72f63c9 /kernel/perf_counter.c
parent79202ba9ff8cf570a75596f42e011167734d1c4b (diff)
downloadlwn-aaba98018b8295dfa2119345d17f833d74448cd0.tar.gz
lwn-aaba98018b8295dfa2119345d17f833d74448cd0.zip
perf_counter, x86: Make NMI lockups more robust
We have a debug check that detects stuck NMIs and returns with the PMU disabled in the global ctrl MSR - but i managed to trigger a situation where this was not enough to deassert the NMI. So clear/reset the full PMU and keep the disable count balanced when exiting from here. This way the box produces a debug warning but stays up and is more debuggable. [ Impact: in case of PMU related bugs, recover more gracefully ] Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Mike Galbraith <efault@gmx.de> Cc: Paul Mackerras <paulus@samba.org> Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com> Cc: Marcelo Tosatti <mtosatti@redhat.com> Cc: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: John Kacur <jkacur@redhat.com> LKML-Reference: <new-submission> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/perf_counter.c')
0 files changed, 0 insertions, 0 deletions