From: Timur Tabi <timur@freescale.com>
To: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Cc: linuxppc-dev@ozlabs.org, kumar.gala@freescale.com,
linux-watchdog@vger.kernel.org
Subject: Re: [PATCH] watchdog: add CONFIG_WATCHDOG_NOWAYOUT support to PowerPC Book-E watchdog driver
Date: Fri, 3 Dec 2010 13:10:02 -0600 [thread overview]
Message-ID: <4CF9408A.4030506@freescale.com> (raw)
In-Reply-To: <20101203190556.GB1903@zod.rchland.ibm.com>
Josh Boyer wrote:
> No, you definitely want to allow something to open it. If it's running
> and nothing opens the device and calls write, then you have no way of
> preventing the watchdog from just resetting your board every time.
Now it's my turn to go Doh! Of course you have to be able to open the driver in
order to ping the timer.
> I had a driver for a different mechanism that would do the equivalent of
> booke_wdt_ping internally to the kernel until somthing opened the
> device. That way you could have the watchdog active during bootup and
> allow userspace to takeover control when it was ready. Then NOWAYOUT
> dictated what happened if the userspace process exited or died (or
> otherwise closed the device). I'm not sure we want to do that for this
> hardware, but it does illustrate the main use of a watchdog on a number
> of boards.
>
> I guess I don't really care either way if multiple processes have the
> device open, as long as none of them can "disable" the watchdog if
> NOWAYOUT is set.
Well, this patch takes care of that problem.
So just to be clear, do you still have any issues with my patch?
--
Timur Tabi
Linux kernel developer at Freescale
next prev parent reply other threads:[~2010-12-03 19:10 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-03 16:51 [PATCH] watchdog: add CONFIG_WATCHDOG_NOWAYOUT support to PowerPC Book-E watchdog driver Timur Tabi
2010-12-03 18:07 ` Josh Boyer
2010-12-03 18:22 ` Timur Tabi
2010-12-03 19:05 ` Josh Boyer
2010-12-03 19:10 ` Timur Tabi [this message]
2010-12-03 19:39 ` Josh Boyer
2010-12-03 19:43 ` Timur Tabi
2010-12-03 19:50 ` Josh Boyer
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=4CF9408A.4030506@freescale.com \
--to=timur@freescale.com \
--cc=jwboyer@linux.vnet.ibm.com \
--cc=kumar.gala@freescale.com \
--cc=linux-watchdog@vger.kernel.org \
--cc=linuxppc-dev@ozlabs.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).