From: joshc@codeaurora.org (Josh Cartwright)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v3 3/3] watchdog: qcom: register a restart notifier
Date: Thu, 25 Sep 2014 14:04:34 -0500 [thread overview]
Message-ID: <20140925190434.GL868@joshc.qualcomm.com> (raw)
In-Reply-To: <20140925184149.GB12340@roeck-us.net>
On Thu, Sep 25, 2014 at 11:41:49AM -0700, Guenter Roeck wrote:
> On Thu, Sep 25, 2014 at 12:48:53PM -0500, Josh Cartwright wrote:
> > The WDT's BITE_TIME warm-reset behavior can be leveraged as a last
> > resort mechanism for triggering chip reset. Usually, other restart
> > methods (such as PS_HOLD) are preferrable for issuing a more complete
> > reset of the chip. As such, keep the priority of the watchdog notifier
> > low.
> >
> > Signed-off-by: Josh Cartwright <joshc@codeaurora.org>
> > ---
> > drivers/watchdog/qcom-wdt.c | 38 ++++++++++++++++++++++++++++++++++++++
> > 1 file changed, 38 insertions(+)
> >
> > diff --git a/drivers/watchdog/qcom-wdt.c b/drivers/watchdog/qcom-wdt.c
> > index 0f56ca3..8ce339f 100644
> > --- a/drivers/watchdog/qcom-wdt.c
> > +++ b/drivers/watchdog/qcom-wdt.c
> > @@ -10,12 +10,14 @@
> > * GNU General Public License for more details.
> > *
> > */
> > +#include <linux/delay.h>
>
> Nitpick: Please keep alphabetical order of include files.
> That makes it easier to identify include files later on.
That was my intent, but apparently I fail at the alphabet :). Normally
instead of thinking I pipe the #include list through 'sort'. Not sure
why I didn't do so this time around.
Thanks,
Josh
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by The Linux Foundation
prev parent reply other threads:[~2014-09-25 19:04 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-25 17:48 [PATCH v3 0/3] watchdog: add support for QCOM WDT Josh Cartwright
2014-09-25 17:48 ` [PATCH v3 1/3] watchdog: qcom: add support for KPSS WDT Josh Cartwright
2014-09-25 18:38 ` Guenter Roeck
2014-09-25 19:00 ` Josh Cartwright
2014-09-25 17:48 ` [PATCH v3 2/3] watchdog: qcom: document device tree bindings Josh Cartwright
2014-09-25 18:43 ` Guenter Roeck
2014-09-25 19:01 ` Josh Cartwright
2014-09-25 17:48 ` [PATCH v3 3/3] watchdog: qcom: register a restart notifier Josh Cartwright
2014-09-25 18:41 ` Guenter Roeck
2014-09-25 19:04 ` Josh Cartwright [this message]
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=20140925190434.GL868@joshc.qualcomm.com \
--to=joshc@codeaurora.org \
--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).