Re: [PATCH], issue EOI to APIC prior to calling crash_kexec indie_nmi path

From: Ingo Molnar
Date: Wed Feb 06 2008 - 18:37:52 EST



* H. Peter Anvin <hpa@xxxxxxxxx> wrote:

>> I am wondering if interrupts are disabled on crashing cpu or if
>> crashing cpu is inside die_nmi(), how would it stop/prevent delivery
>> of NMI IPI to other cpus.
>
> I don't see how it would.

cross-CPU IPIs are a bit fragile on some PC platforms. So if the kexec
code relies on getting IPIs to all other CPUs, it might not be able to
do it reliably. There might be limitations on how many APIC irqs there
can be queued at a time, and if those slots are used up and the CPU is
not servicing irqs then stuff gets retried. This might even affect NMIs
sent via APIC messages - not sure about that.

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