watchdog: renesas_wdt: add grace period before rebooting
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Mon, 18 Jan 2021 09:45:58 +0000 (10:45 +0100)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Sun, 7 Feb 2021 13:41:22 +0000 (14:41 +0100)
commite007372bfb5f19d22ebfbbcb7c56346321398077
tree3c14c8ddab55a7edc5dab9902315c8c744cac508
parentac288a7b1a98a11e3269573b1de05fb35b80e051
watchdog: renesas_wdt: add grace period before rebooting

arm64 does not have a grace period after calling reset handlers. It is
rightfully assumed that watchdog drivers should wait because they know
the time needed. Implement this for the Renesas watchdog driver.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Guenter Roeck <linux@oeck-us.net>
Link: https://lore.kernel.org/r/20210118094558.36814-1-wsa+renesas@sang-engineering.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
drivers/watchdog/renesas_wdt.c