André Draszik
392d39a863
watchdog: mt7621: set WDOG_HW_RUNNING bit when appropriate
...
If the watchdog hardware is enabled/running during boot, e.g.
due to a boot loader configuring it, we must tell the
watchdog framework about this fact so that it can ping the
watchdog until userspace opens the device and takes over
control.
Do so using the WDOG_HW_RUNNING flag that exists for exactly
that use-case.
Given the watchdog driver core doesn't know what timeout was
originally set by whoever started the watchdog (boot loader),
we make sure to update the timeout in the hardware according
to what the watchdog core thinks it is.
Signed-off-by: André Draszik <git@andred.net>
Cc: linux-watchdog@vger.kernel.org
Cc: John Crispin <john@phrozen.org>
Reviewed-by: Guenter Roeck <Linux@roeck-us.net>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
2018-01-21 12:44:58 +01:00
..
2014-10-20 16:21:56 +02:00
2017-12-28 20:45:28 +01:00
2017-12-28 20:45:28 +01:00
2017-11-21 15:57:05 -08:00
2014-10-20 16:21:56 +02:00
2017-09-09 20:25:34 +02:00
2017-12-28 20:44:50 +01:00
2014-10-20 16:21:56 +02:00
2015-09-11 15:12:59 -07:00
2017-11-21 15:57:07 -08:00
2015-09-09 21:38:29 +02:00
2016-10-05 18:36:18 -04:00
2017-02-24 14:00:23 -08:00
2017-11-21 15:57:07 -08:00
2017-11-21 15:57:07 -08:00
2017-02-27 18:43:46 -08:00
2017-09-09 20:52:13 +02:00
2017-05-19 10:42:25 +02:00
2014-10-20 16:21:56 +02:00
2017-02-24 14:00:23 -08:00
2017-09-09 20:35:31 +02:00
2017-09-09 20:06:38 +02:00
2017-11-21 15:57:07 -08:00
2017-11-02 15:50:26 -07:00
2017-02-24 14:00:23 -08:00
2017-02-24 14:00:23 -08:00
2017-12-28 20:45:08 +01:00
2017-09-09 20:55:26 +02:00
2017-12-28 20:45:56 +01:00
2017-09-09 20:29:53 +02:00
2017-02-24 14:00:23 -08:00
2017-12-28 20:44:55 +01:00
2017-02-24 14:00:23 -08:00
2017-02-24 14:00:23 -08:00
2017-12-28 20:45:51 +01:00
2017-12-28 20:45:28 +01:00
2017-12-28 20:45:02 +01:00
2015-09-28 10:56:01 +02:00
2014-10-20 16:21:56 +02:00
2017-12-28 20:45:36 +01:00
2017-12-28 20:45:55 +01:00
2017-12-28 20:45:18 +01:00
2017-12-28 20:45:52 +01:00
2014-03-31 13:31:06 +02:00
2015-09-09 21:39:22 +02:00
2017-02-24 14:00:23 -08:00
2018-01-21 12:44:58 +01:00
2014-03-31 13:26:31 +02:00
2014-03-31 13:26:56 +02:00
2012-03-27 19:59:26 +02:00
2017-06-05 20:37:35 +02:00
2013-11-17 19:38:13 +01:00
2017-09-09 20:06:25 +02:00
2013-11-17 19:38:13 +01:00
2012-05-09 17:20:09 +02:00
2017-11-02 11:10:55 +01:00
2017-09-09 17:41:24 +02:00
2013-11-17 19:38:13 +01:00
2017-12-28 20:44:44 +01:00
2017-12-28 20:45:40 +01:00
2017-03-01 06:15:10 -08:00
2015-08-05 10:35:49 -07:00
2017-09-04 13:53:15 +02:00
2016-12-16 06:53:55 -08:00
2017-11-02 15:50:30 -07:00
2013-11-17 19:38:13 +01:00
2017-11-21 15:57:05 -08:00
2017-12-28 20:45:40 +01:00
2016-01-31 16:51:56 +01:00
2017-09-09 20:40:39 +02:00
2017-12-28 20:45:23 +01:00
2017-02-24 14:00:23 -08:00
2015-09-09 21:39:22 +02:00
2017-07-03 11:02:31 +02:00
2017-09-09 20:14:01 +02:00
2017-11-21 15:57:05 -08:00
2016-03-01 15:36:35 +01:00
2017-12-28 20:45:36 +01:00
2018-01-21 12:44:58 +01:00
2016-03-01 15:36:35 +01:00
2017-11-21 15:57:07 -08:00
2014-10-20 16:21:56 +02:00
2016-03-01 16:25:39 +01:00
2017-02-24 14:00:23 -08:00
2017-11-21 15:57:07 -08:00
2016-07-17 21:04:13 +02:00
2011-01-12 13:51:23 +00:00
2017-09-04 21:19:03 +02:00
2017-09-04 21:19:03 +02:00
2017-09-09 20:48:18 +02:00
2015-12-27 21:09:40 +01:00
2015-06-22 15:54:35 +02:00
2017-12-28 20:44:57 +01:00
2017-04-20 12:02:32 +01:00
2017-12-28 20:45:29 +01:00
2017-12-28 20:45:50 +01:00
2017-11-21 15:57:07 -08:00
2016-07-25 12:02:32 +02:00
2016-07-25 12:02:43 +02:00
2017-11-21 15:57:07 -08:00
2013-11-17 19:38:13 +01:00
2016-03-16 21:09:42 +01:00
2016-10-08 10:27:13 +02:00
2016-10-08 10:27:17 +02:00
2017-09-09 20:50:35 +02:00
2016-03-01 15:29:42 +01:00
2017-11-21 15:57:07 -08:00
2017-09-09 21:11:58 +02:00
2015-09-09 21:39:22 +02:00
2014-10-20 16:21:56 +02:00
2017-02-24 14:00:23 -08:00
2017-09-09 20:29:53 +02:00
2017-12-28 20:44:39 +01:00
2017-06-05 20:37:17 +02:00
2017-06-05 20:38:52 +02:00
2017-02-24 14:00:23 -08:00
2017-06-05 17:58:39 +02:00
2013-11-17 19:38:13 +01:00
2017-11-21 15:57:05 -08:00
2013-11-17 19:38:13 +01:00
2013-11-17 19:38:13 +01:00
2013-11-17 19:38:13 +01:00
2013-11-17 19:38:13 +01:00
2017-02-24 14:00:23 -08:00
2017-11-21 15:57:05 -08:00
2017-09-09 21:14:46 +02:00
2014-10-20 16:21:56 +02:00
2013-11-17 19:38:13 +01:00
2017-11-21 15:57:07 -08:00
2017-02-24 14:00:23 -08:00
2013-11-17 19:38:13 +01:00
2017-03-01 06:15:10 -08:00
2017-09-09 21:17:44 +02:00
2016-05-14 16:16:04 +02:00
2017-11-02 11:10:55 +01:00
2017-12-28 20:45:40 +01:00
2016-09-24 08:59:49 +02:00
2017-12-28 20:45:51 +01:00
2016-01-11 21:51:28 +01:00
2017-02-24 14:00:23 -08:00
2017-12-28 20:45:12 +01:00
2017-02-24 14:00:23 -08:00
2017-02-24 14:00:23 -08:00
2017-09-09 20:06:14 +02:00
2015-12-28 22:29:35 +01:00
2017-09-04 14:41:02 +01:00
2016-09-23 22:36:32 +02:00
2017-07-03 13:58:55 +02:00
2015-09-09 21:39:22 +02:00
2017-11-21 15:57:05 -08:00
2017-09-09 20:08:03 +02:00
2017-11-21 15:57:05 -08:00
2015-11-23 08:59:30 +01:00
2013-11-17 19:38:13 +01:00
2017-12-28 20:45:56 +01:00
2015-12-29 20:36:01 +01:00
2017-12-28 20:45:57 +01:00
2016-10-08 10:27:24 +02:00
2017-11-02 11:10:55 +01:00
2009-03-25 09:07:04 +00:00
2016-10-21 01:28:33 +02:00
2013-11-17 19:38:13 +01:00
2014-03-31 13:28:20 +02:00
2013-11-17 19:38:13 +01:00
2017-12-28 20:45:30 +01:00
2017-04-20 12:02:32 +01:00
2017-02-24 14:00:23 -08:00
2015-09-09 21:39:22 +02:00
2017-12-28 20:45:44 +01:00
2017-09-09 21:16:17 +02:00
2017-09-09 20:18:43 +02:00