linux-watchdog.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* driver: watchdog: Remove mtk_wdt_stop() in probe() to prevent the system freeze and it doesn't reboot by watchdog problem
@ 2020-12-25  7:30 Freddy Hsin
  2020-12-25  7:30 ` [PATCH v1 1/1] " Freddy Hsin
  2020-12-25 14:27 ` Guenter Roeck
  0 siblings, 2 replies; 6+ messages in thread
From: Freddy Hsin @ 2020-12-25  7:30 UTC (permalink / raw)
  To: Freddy Hsin, Wim Van Sebroeck, Guenter Roeck, Matthias Brugger,
	linux-watchdog, linux-arm-kernel, linux-mediatek, linux-kernel
  Cc: wsd_upstream, chang-an.chen, kuohong.wang

Before user space daemon start to access the watchdog device,
there is a time interval that watchdog is disabled in the
original flow. If the system freezing at this interval, it
cannot be rebooted by watchdog hardware automatically.

In order to solve this problem, the watchdog hardware should be
kept working, and start hrtimer in framework to ping it by
setting max_hw_heartbeat_ms and HW_RUNNING used in
watchdog_need_worker to determine whether the worker should be
started or not


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-12-29 15:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-25  7:30 driver: watchdog: Remove mtk_wdt_stop() in probe() to prevent the system freeze and it doesn't reboot by watchdog problem Freddy Hsin
2020-12-25  7:30 ` [PATCH v1 1/1] " Freddy Hsin
2020-12-25 14:27   ` Guenter Roeck
     [not found]     ` <1609231194.9252.6.camel@mtkswgap22>
2020-12-29 15:08       ` Guenter Roeck
2020-12-25 14:29   ` Guenter Roeck
2020-12-25 14:27 ` Guenter Roeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).