From: Guenter Roeck <linux@roeck-us.net>
To: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Wim Van Sebroeck <wim@iguana.be>,
Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com>,
linux-watchdog@vger.kernel.org, Fu Wei <fu.wei@linaro.org>
Subject: Re: Additional patches in my watchdog-next branch
Date: Tue, 29 Dec 2015 09:28:48 -0800 [thread overview]
Message-ID: <20151229172848.GA14047@roeck-us.net> (raw)
In-Reply-To: <20151229173705.1596cf1d@free-electrons.com>
On Tue, Dec 29, 2015 at 05:37:05PM +0100, Thomas Petazzoni wrote:
> Hello,
>
> On Tue, 29 Dec 2015 08:04:11 -0800, Guenter Roeck wrote:
> > Hi Wim,
> >
> > On Tue, Dec 29, 2015 at 08:17:32AM +0100, Wim Van Sebroeck wrote:
> > [ ... ]
> > >
> > > SBSA: What should be done is to create a correct driver without pretimeout and with just the normal watchdog (=reboot if we aren't kicked fast enough) behaviour and get that in.
> > >
> > Absoutely agree.
>
> Sorry to get into the conversation, but I got interested into the SBSA
> watchdog driver recently, and looked at the status of its merge in the
> kernel.
>
> I've looked at Fu Wei's v9 from November which I believe is the latest
> version, and then looked at Vladimir's generic pretimeout patch set.
>
> Vladimir, do you plan to rework the SBSA watchdog driver on top of your
> pretimeout patch series ? Or do Fu Wei intends do it ? Alternatively,
> as suggested by Wim and Guenter, submitting an initial version without
> pretimeout support would be a good thing. Are you, or Fu, interested in
> doing this, or should I work at updating Fu's patches in this
> direction ?
>
Probem with SBSA and pretimeout is two-fold. First, it adds a quite a bit of
complexity to the driver, second, it adds a lot of risk to the driver.
Reason is that this is not one specific watchdog, but a watchdog implementation
based on a standard which, in my opinion, is less than well thought out
and leaves a lot of ambiguity when it comes to implementation details.
The more functionality is used, the higher the risk that some implementation
won't work.
I think we should stick with the basic implemementation and not support
pretimeout at all with the SBSA driver. If the maximum timeout is insufficient,
there are two options: Use the soft-timeout handled by the watchdog core,
which will hopefully make it for 4.6, or live with it.
As for pretimeout itself, we will have multiple proposals to consider,
as well as integration order. At this point I would prefer to get the other
infrastructure changes in first, and then pick an implementation which
doesn't add too much complexity. Current proposals are, from my
perspective, either too heavy-weigt or too light-weight. I think we should
try to find a middle ground.
Thanks,
Guenter
next prev parent reply other threads:[~2015-12-29 17:28 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-28 15:23 Additional patches in my watchdog-next branch Guenter Roeck
2015-12-28 15:27 ` Wim Van Sebroeck
2015-12-28 21:57 ` Guenter Roeck
2015-12-28 22:54 ` Wim Van Sebroeck
2015-12-28 23:17 ` Vladimir Zapolskiy
2015-12-29 7:17 ` Wim Van Sebroeck
2015-12-29 16:04 ` Guenter Roeck
2015-12-29 16:37 ` Thomas Petazzoni
2015-12-29 17:28 ` Guenter Roeck [this message]
2015-12-30 9:44 ` Thomas Petazzoni
2015-12-30 13:30 ` Fu Wei
2015-12-30 14:02 ` Thomas Petazzoni
2015-12-30 15:01 ` Fu Wei
2015-12-30 15:03 ` Thomas Petazzoni
2015-12-30 15:06 ` Fu Wei
2015-12-30 11:44 ` Fu Wei
2015-12-30 11:30 ` Fu Wei
2016-01-03 22:49 ` Vladimir Zapolskiy
2015-12-29 0:08 ` Guenter Roeck
2015-12-29 7:21 ` Wim Van Sebroeck
2015-12-29 16:02 ` Guenter Roeck
2015-12-29 20:01 ` Wim Van Sebroeck
2015-12-29 21:20 ` Guenter Roeck
2015-12-30 10:06 ` Wim Van Sebroeck
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=20151229172848.GA14047@roeck-us.net \
--to=linux@roeck-us.net \
--cc=fu.wei@linaro.org \
--cc=linux-watchdog@vger.kernel.org \
--cc=thomas.petazzoni@free-electrons.com \
--cc=vladimir_zapolskiy@mentor.com \
--cc=wim@iguana.be \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.