]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Add sun4v_wdt watchdog driver
authorWim Coekaerts <wim.coekaerts@oracle.com>
Sun, 24 Jan 2016 23:59:22 +0000 (15:59 -0800)
committerAllen Pais <allen.pais@oracle.com>
Tue, 26 Jan 2016 18:18:55 +0000 (23:48 +0530)
commitd153ba1897b562594f98b91e12d62e69018ad990
tree6f8b6db66a2ec17dd64d9187be947d001474b35d
parent2c4623791254cb4fb9f79fe481de4db2a8c9ea26
Add sun4v_wdt watchdog driver

This driver adds sparc hypervisor watchdog support. Timeout is set in
milliseconds since that is the granularity supported and it honors
the settings of both the watchdog-resolution and watchdog-max-timeout
MD properties.

Note that most watchdog drivers use timeout in seconds. This driver
requires timeout_ms as a module parameter and time in ms.

In this driver, the default is 60000ms or 60 seconds.

This driver also modifies hvcalls.S and changes sun4v_mach0_set_watchdog
such that it allows for NULL to be passed as 2nd parameter. This removes
the need to pass &time_remaining which is not useful.

Signed-off-by: Wim Coekaerts <wim.coekaerts@oracle.com>
Documentation/watchdog/watchdog-parameters.txt
arch/sparc/kernel/hvcalls.S
arch/sparc/kernel/sparc_ksyms_64.c
drivers/watchdog/Kconfig
drivers/watchdog/Makefile
drivers/watchdog/sun4v_wdt.c [new file with mode: 0644]