Re: [PATCH v3 0/2] watchdog: allow setting deadline for opening /dev/watchdogN

From: Rasmus Villemoes
Date: Mon Jan 02 2017 - 03:17:31 EST


On 2016-12-14 14:37, Rasmus Villemoes wrote:

If a watchdog driver tells the framework that the device is running,
the framework takes care of feeding the watchdog until userspace opens
the device. If the userspace application which is supposed to do that
never comes up properly, the watchdog is fed indefinitely by the
kernel. This can be especially problematic for embedded devices.

These patches allow one to set a maximum time for which the kernel
will feed the watchdog, thus ensuring that either userspace has come
up, or the board gets reset.

Ping.

Rasmus