Re: [PATCH] HPET RTC emulation: add watchdog timer

From: Andi Kleen
Date: Mon Jan 09 2006 - 11:40:29 EST


On Mon, Jan 09, 2006 at 04:43:50PM +0100, Clemens Ladisch wrote:
> To prevent the emulated RTC timer from stopping when interrupts are
> disabled for too long, implement the watchdog timer to restart it when
> needed.

The interrupt handler should just read the time (it likely
has to do that anyways) and check for that
directly. That is what I did in my noidletick HPET patch and it
worked ok.

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