x86, NMI watchdog: disable NMIs on LVT0 in case NMI watchdog is not working
authorAristeu Rozanski <aris@redhat.com>
Mon, 27 Oct 2008 16:42:35 +0000 (12:42 -0400)
committerIngo Molnar <mingo@elte.hu>
Mon, 27 Oct 2008 17:44:05 +0000 (18:44 +0100)
commit7d5a78cd98c3a5eb83bd6a061c5ea6ef1e9b8fcb
tree594296a361b02222a37ff860530b453b15b63d01
parent6f290b4e016d6c61511542cf6d9ebdef1965978e
x86, NMI watchdog: disable NMIs on LVT0 in case NMI watchdog is not working

Impact: change NMI watchdog detection and disabling sequence

Currently, if the NMI watchdog fails using IOAPIC method, it'll only disable
interrupts on 8259 if the timer is passing thru it. This patch disables
NMI delivery on LINT0 if the NMI watchdog initial test fails, just for safety.

Signed-off-by: Aristeu Rozanski <aris@redhat.com>
Cc: "Maciej W. Rozycki" <macro@linux-mips.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/nmi.c