Hi All, > On Sun, Sep 15, 2013 at 10:10:36PM +0200, Arnd Bergmann wrote: > > On Sunday 15 September 2013, Domenico Andreoli wrote: > > > issue here is that there is already a proper watchdog driver, the sp805. > > > > > > so I guess now the task shifts to adding restart hook support to it, right? > > > > Yes, correct. > > > > There is an interesting question however: we have to deal with the same driver > > being used in some machines that need to use it as the only way to reset the > > system, as well as the case where you actually want to use some other method. > > in a certain sense, there is space for a generic watchdog based restart > hook mechanism but the current watchdog ops do not provide the necessary > guarantees in atomic context. I remember that the Cobalt Devices have no ability to reboot themselves. That's why the driver uses the reboot_notifier for rebooting the device. See drivers/watchdog/alim7101_wdt.c . I'll have a look to have an extra ops that adds this functionality in the framework. Kind regards, Wim. -- To unsubscribe from this list: send the line "unsubscribe linux-watchdog" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html