On 01/29/2016 07:12 AM, Stanislav Kholmanskikh wrote:
On 01/29/2016 12:46 AM, Wim Coekaerts wrote:
<cut>
+static const struct watchdog_info sun4v_wdt_ident = {
+ .options = WDIOF_SETTIMEOUT | WDIOF_MAGICCLOSE,
+ .identity = "sun4v hypervisor watchdog",
+ .firmware_version = 0,
+};
In accordance to watchdog_ioctl() in drivers/watchdog/watchdog_dev.c WDIOF_KEEPALIVEPING may be needed here as to enable the support of WDIOC_KEEPALIVE ioctl.
Correct? So maybe add it then?
Yes. Not having the flag means that the ioctl is not supported,
and that keepalives have to be implemented using file i/o.
Wim, oversight or on purpose ?
Thanks,
Guenter
Thanks.
--
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
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html