Am 21.04.2016 um 16:52 schrieb Guenter Roeck: > On 04/20/2016 12:10 AM, fixed-term.Oleksij.Rempel wrote: >> Hallo all, >> >> my target is to provide pretimout support for devices which do not have >> this functionality. >> >> Pre-requirement is this patchset (i contacted the author to rebase it >> against latest watchdog core branch): >> https://www.mail-archive.com/linux-watchdog@xxxxxxxxxxxxxxx/msg02394.html >> >> The idea is to use different watchdogs/timers or what ever as one group >> - one virtual device. >> One driver will be responsible for reseting the system, other for >> generating an interrupt on pre-timout. >> It can be also useful for systems which require redundant watchdogs - >> two or more watchdog pinged over one /dev/watchdog >> >> I assume i would need to create a master virtual watchdog driver to >> bypass/broadcast all pings to child devices. >> >> Do you have some ideas or suggestions? >> > Seems to add a lot of complexity. It might be much simpler to add support > for a 'soft' pretimeout in such situations, ie a timer which fires at the > correct interval and results in a reset. It might even be possible to use > the new internal heartbeat function for this purpose. yes, you have right. it is simple and cleaner generic way. i like it :) -- Regards, Oleksij
Attachment:
signature.asc
Description: OpenPGP digital signature