Re: [PATCH] watchdog: bcm2835_wdt: set WDOG_HW_RUNNING bit when appropriate

2016-12-12 Thread Eric Anholt
Rasmus Villemoes writes: > A bootloader may start the watchdog device before handing control to > the kernel - in that case, we should tell the kernel about it so the > watchdog framework can keep it alive until userspace opens > /dev/watchdog0. I don't believe our current bootloaders (the close

Re: [PATCH] watchdog: bcm2835_wdt: set WDOG_HW_RUNNING bit when appropriate

2016-12-12 Thread Guenter Roeck
On 12/12/2016 01:48 AM, Rasmus Villemoes wrote: A bootloader may start the watchdog device before handing control to the kernel - in that case, we should tell the kernel about it so the watchdog framework can keep it alive until userspace opens /dev/watchdog0. Signed-off-by: Rasmus Villemoes

[PATCH] watchdog: bcm2835_wdt: set WDOG_HW_RUNNING bit when appropriate

2016-12-12 Thread Rasmus Villemoes
A bootloader may start the watchdog device before handing control to the kernel - in that case, we should tell the kernel about it so the watchdog framework can keep it alive until userspace opens /dev/watchdog0. Signed-off-by: Rasmus Villemoes --- drivers/watchdog/bcm2835_wdt.c | 20 +++