On Fri, Mar 27, 2015 at 01:09:34PM -0700, Linus Torvalds wrote: > I think AMD documented that the sti "interrupt shadow" shadows even > NMI.
Hmm, official docs says this: "15.21.5 Interrupt Shadows The x86 architecture defines the notion of an interrupt shadow—a single-instruction window during which interrupts are not recognized. For example, the instruction after an STI instruction that sets EFLAGS.IF (from zero to one) does not recognize interrupts or certain debug traps." And I think with "interrupts" this means maskable interrupts, i.e. not NMI. STI description itself: "Sets the interrupt flag (IF) in the rFLAGS register to 1, thereby allowing external interrupts received on the INTR input. Interrupts received on the non-maskable interrupt (NMI) input are not affected by this instruction." but there might be some other documentation which I cannot find right now. -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply. -- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/