diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-05-26 08:10:00 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-05-26 09:52:03 +0200 |
commit | aaba98018b8295dfa2119345d17f833d74448cd0 (patch) | |
tree | 680995e29b5fde045340dbddf3a22f23e72f63c9 /virt/kvm | |
parent | perf_counter, x86: Fix APIC NMI programming (diff) | |
download | linux-aaba98018b8295dfa2119345d17f833d74448cd0.tar.xz linux-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 'virt/kvm')
0 files changed, 0 insertions, 0 deletions