[lkml]   [2002]   [Nov]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: NMI handling rework
On Thu, 7 Nov 2002, Corey Minyard wrote:

> >How? The NMI interrupt should be internally masked till IRET. I think your
> >code is ok, but i don't see how it takes care of concurrent users such as
> >oprofile and the nmi watchdog, the nmi watchdog already programs its own
> >interrupt interval if its shared, what is the intended base NMI interval?
> >How about handlers requiring a different interrupt interval? I have code
> >which does the following;
> >
> NMIs cannot be masked, they are by definition non-maskable :-). You can
> get an NMI while executing an NMI.

Not on the i386 family. Once an NMI is accepted by the CPU, it gets
internally masked until an iret instruction gets executed. If another NMI
happens maenwhile, it's latched by the processor internally and dispatched
as soon as NMIs are unmasked. Further NMIs received when masked are lost.

Check datasheets for details.

+ Maciej W. Rozycki, Technical University of Gdansk, Poland +
+ e-mail:, PGP key available +

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:30    [W:0.062 / U:1.376 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site