Re: [PATCH 1/10 v2] Generic Watchdog Timer Driver

From: Chris Friesen
Date: Wed Jun 22 2011 - 14:31:09 EST


On 06/18/2011 11:19 AM, Wim Van Sebroeck wrote:
watchdog: WatchDog Timer Driver Core - Part 1

The WatchDog Timer Driver Core is a framework
that contains the common code for all watchdog-driver's.
It also introduces a watchdog device structure and the
operations that go with it.

This is the introduction of this framework. This part
supports the minimal watchdog userspace API (or with
other words: the functionality to use /dev/watchdog's
open, release and write functionality as defined in
the simplest watchdog API). Extra functionality will
follow in the next set of patches.


Have you thought about callback support for systems that support a two-stage watchdog? That way we could do something useful (preserve system memory using kdump, for instance) rather than just getting whacked by the hardware.

Chris

--
Chris Friesen
Software Developer
GENBAND
chris.friesen@xxxxxxxxxxx
www.genband.com
--
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/