[PATCH] ppc44x/watchdog: Select WATCHDOG_NOWAYOUT option
Tabi Timur-B04825
B04825 at freescale.com
Tue Jul 17 06:28:02 EST 2012
On Fri, Jul 13, 2012 at 7:25 AM, Josh Boyer <jwboyer at gmail.com> wrote:
> Right now, if the option is not set we call booke_wdt_disable which
> indeed does not actually _disable_ the WDT, but it does set the timer
> period to the maxium value. We could go one step further and implement
> a simple timer that pops and calls booke_wdt_ping if WATCHDOG_NOWAYOUT
> is not set, then rearms itself. That would leave the user with the
> ability to perform recovery of the userspace process that exited or
> died and was responsible for pinging the watchdog.
I think the maximum value is still decades or centuries, so there's no
real reason to complicate the code.
The NOWAYOUT feature is working as designed, so I don't understand the
need for this patch.
--
Timur Tabi
Linux kernel developer at Freescale
More information about the Linuxppc-dev
mailing list