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

H. Peter Anvin
2008-02-06T20:27:16Z

Neil Horman wrote:
> Can an APIC accept an NMI while already handling an NMI? I didn't think they
> would interrupt one another, but rather, pend until such time as the previous
> NMI was cleared

The CPU certainly won't (there is a hidden flag that's cleared on IRET
which disables NMI; it's possible to re-enable NMI by executing a dummy
IRET inside the NMI handler.)

-hpa