Re: NMI problems with Dell SMP Xeons

From: Keith Owens
Date: Thu Jun 08 2006 - 01:24:15 EST


"Brendan Trotter" (on Wed, 7 Jun 2006 15:18:57 +0000) wrote:
>Hi,
>
>On 6/7/06, Keith Owens <kaos@xxxxxxx> wrote:
>> This problem is not KDB specific, although that is where it was first
>> noticed. Any code that sends a broadcast IPI 2 or an NMI IPI will
>> crash these Dell boxes when there is a mismatch between the cpus known
>> to the BIOS and the cpus known to the OS.
>
>I missed this (broadcast IPI 2 causing problems)...

It turns out that there is an uncommented hack in x86_64's version of
__prepare_ICR().

case NMI_VECTOR:
icr |= APIC_DM_NMI;
break;

That hack is not in i386, which means that IPI 2 does different things
in i386 vs. x86_64 mode on the same hardware. I am still tracking down
all the differences before doing a clean up patch that makes i386 and
x86_64 behave the same.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/