From: jszhang@marvell.com (Jisheng Zhang)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 0/2] watchdog: dw_wdt: one bug fix and restart handler support
Date: Fri, 19 Sep 2014 14:29:57 +0800 [thread overview]
Message-ID: <1411108199-1280-1-git-send-email-jszhang@marvell.com> (raw)
These patches are intend to improve dw_wdt in the following two aspects:
Firstly, the TOP_INIT may be zero at reset on some HW, so the timeout period
may be very short, thus we will see immediate system reset after openning
the watchdog. Fix this problem by restarting the counter immediately after
WDT enabling.
Secondly, the WDT can also be used to reboot the system with the help of
recently introduced restart handler.
Tested on Marvell BG2Q DMP board.
Jisheng Zhang (2):
watchdog: dw_wdt: restart the counter immediately after enabling WDT
watchdog: dw_wdt: add restart handler support
drivers/watchdog/dw_wdt.c | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
--
2.1.0
next reply other threads:[~2014-09-19 6:29 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-19 6:29 Jisheng Zhang [this message]
2014-09-19 6:29 ` [PATCH 1/2] watchdog: dw_wdt: restart the counter immediately after enabling WDT Jisheng Zhang
2014-09-19 17:27 ` Guenter Roeck
2014-09-20 13:51 ` Guenter Roeck
2014-09-23 7:45 ` Jisheng Zhang
2014-09-19 6:29 ` [PATCH 2/2] watchdog: dw_wdt: add restart handler support Jisheng Zhang
2014-09-20 3:07 ` Guenter Roeck
2014-09-20 14:08 ` Guenter Roeck
2014-09-23 6:57 ` Jisheng Zhang
2014-09-20 21:09 ` Guenter Roeck
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1411108199-1280-1-git-send-email-jszhang@marvell.com \
--to=jszhang@marvell.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).