Re: how to allow board writers to customize driver behavior (watchdog here)

From: Daniel Newby
Date: Thu May 24 2007 - 04:48:14 EST


On 5/24/07, Paul Mundt <lethal@xxxxxxxxxxxx> wrote:
It sounds like your constraining your driver based on terminology.
Watchdogs on most embedded platforms support either a 'reset' mode or
otherwise act as periodic timers, trying to push both of these
functionalities in to a watchdog driver is rather pointless.
CONFIG_WATCHDOG implies 'reset' mode by definition.

I agree for a product in the hands of a customer: let the watchdog
pull your bacon out of the fire.

But what about debugging? Suppose your embedded computer with custom
drivers locks up solid every few hundred hours. It would be nice if
the watchdog gave a stack dump instead erasing the evidence. How about
having "action=reset" and "action=debug"?

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