Re: [PATCH] 2.6.9: Only handle system NMIs on the BSP

From: Andi Kleen
Date: Wed Nov 03 2004 - 00:03:19 EST


On Wed, Nov 03, 2004 at 03:04:06AM +0000, Maciej W. Rozycki wrote:
> On Wed, 3 Nov 2004, Andi Kleen wrote:
>
> > > While discussing races in the NMI handler's trailer fiddling with RTC
> > > registers, I've discovered we incorrectly attempt to handle NMIs coming
> > > from the system (memory errors, IOCHK# assertions, etc.) with all
> > > processors even though the interrupts are only routed to the bootstrap
> > > processor. If one of these events coincides with a NMI watchdog tick it
> >
> > Where is this documented/guaranteed that only APs get such NMIs?
>
> Only the BSP gets them (not APs) and it's we who arrange for that. ;-)
> We only enable LVT1 on the BSP -- APs have this input masked. See
> setup_local_APIC().

Ok, then it's fine for me. Thanks.

-Andi
-
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/