Re: Race betwen the NMI handler and the RTC clock in practially allkernels

From: linux-os
Date: Mon Oct 25 2004 - 15:33:34 EST


On Mon, 25 Oct 2004, Corey Minyard wrote:

According to the comments in 2.4, this code causes the NMI to be re-asserted if another NMI occurred while the NMI handler was running. I have no idea how twiddling with these CMOS registers causes this to happen, but that is supposed to be the intent. I don't think it has anything to do with delays.

I would like to know what this code really does before removing it.

-Corey

Andi Kleen wrote:


NMI is supposed to be turned OFF if the high-bit in the index
register is set. It is turned back ON if it is reset.


Cheers,
Dick Johnson
Penguin : Linux version 2.6.9 on an i686 machine (5537.79 GrumpyMips).
98.36% of all statistics are fiction.
-
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/