]> nv-tegra.nvidia Code Review - linux-3.10.git/commit
[PATCH] x86_64: Avoid broadcasting NMI IPIs
authorKeith Owens <kaos@sgi.com>
Mon, 26 Jun 2006 11:59:56 +0000 (13:59 +0200)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 26 Jun 2006 17:48:22 +0000 (10:48 -0700)
commite77deacb7b078156fcadf27b838a4ce1a65eda04
treee594ce9a9f65c45e19cfb3b8417c614dd2eb5386
parent704fc59e1d056de80beaf30174bc8e0b1682efbb
[PATCH] x86_64: Avoid broadcasting NMI IPIs

On some i386/x86_64 systems, sending an NMI IPI as a broadcast will
reset the system.  This seems to be a BIOS bug which affects machines
where one or more cpus are not under OS control.  It occurs on HT
systems with a version of the OS that is not compiled without HT
support.  It also occurs when a system is booted with max_cpus=n where
2 <= n < cpus known to the BIOS.  The fix is to always send NMI IPI as
a mask instead of as a broadcast.

Signed-off-by: Keith Owens <kaos@sgi.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/kernel/genapic_flat.c
include/asm-i386/mach-default/mach_ipi.h