From: Wim Van Sebroeck <wim@iguana.be>
To: Ashish Jangam <ashish.jangam@kpitcummins.com>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"linux-watchdog@vger.kernel.org" <linux-watchdog@vger.kernel.org>,
Anthony Olech <Anthony.Olech@diasemi.com>
Subject: Re: Watchdog settimeout causes an error condition
Date: Wed, 23 May 2012 18:56:09 +0200 [thread overview]
Message-ID: <20120523165609.GM3074@spo001.leaseweb.com> (raw)
In-Reply-To: <1335168639.11826.7.camel@dhruva>
Hi Ashish,
> The new watchdog framework of settimeout causes an error condition for
> the DA9052/53 PMIC since watchdog ping gets called upon applying the new
> watchdog window and in the DA9052/53 PMIC we have a minimum time for the
> watchdog window called TWDMIN. A write to the watchdog before this
> elapsed time - TWDMIN - cause an error.
>
> Can this be get fixed in the new framework?
Imho this should not be fixed in the framework but in your driver.
Even if we would change the framework, it will always be possible that
userspace will do a set-timeout and ping directly after each other.
What I would do is make sure that your driver makes sure that you can't write
before this TWDMIN window has passed.
Kind regards,
Wim.
prev parent reply other threads:[~2012-05-23 16:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-23 8:10 Ashish Jangam
2012-05-23 16:56 ` Wim Van Sebroeck [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=20120523165609.GM3074@spo001.leaseweb.com \
--to=wim@iguana.be \
--cc=Anthony.Olech@diasemi.com \
--cc=ashish.jangam@kpitcummins.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-watchdog@vger.kernel.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
all inboxes | Powered by JetHome®