[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1608881450-11081-1-git-send-email-freddy.hsin@mediatek.com>
Date: Fri, 25 Dec 2020 15:30:49 +0800
From: Freddy Hsin <freddy.hsin@...iatek.com>
To: Freddy Hsin <freddy.hsin@...iatek.com>,
Wim Van Sebroeck <wim@...ux-watchdog.org>,
Guenter Roeck <linux@...ck-us.net>,
Matthias Brugger <matthias.bgg@...il.com>,
<linux-watchdog@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-mediatek@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>
CC: <wsd_upstream@...iatek.com>, <chang-an.chen@...iatek.com>,
<kuohong.wang@...iatek.com>
Subject: driver: watchdog: Remove mtk_wdt_stop() in probe() to prevent the system freeze and it doesn't reboot by watchdog problem
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
Powered by blists - more mailing lists