Re: [PATCH RFC] Watchdog: sbsa_gwdt: Enhance timeout range
From: Guenter Roeck
Date: Tue May 03 2016 - 13:16:21 EST
On Tue, May 03, 2016 at 09:21:41PM +0530, Pratyush Anand wrote:
> On 03/05/2016:10:07:48 AM, Timur Tabi wrote:
> > Pratyush Anand wrote:
> > >In fact after supporting max_hw_heartbeat_ms, there should be no change for
> > >action=0 functionally. However, we would still need some changes for action=1.
> >
> > IMHO, action=1 is more of a debugging option, and not something that would
> > be used normally. I would need to see some evidence that real users want to
> > have action=1 and a longer timeout.
> >
> If action=1 need to be used effectively, then we should have something which
> would help to increase timeout values.
>
> Currently you have only 10 second to execute secondary kernel, which might not
> be sufficient.
>
Previously the argument was that the 10 seconds (assuming the clock runs at
maximum speed) would not be sufficient to load the watchdog application. Now it
seems the 10 seconds are deemed insufficient to load the watchdog driver (since
the infrastructure can handle the heartbeats). Is there actual evidence that
this is the case ?
Guenter
> > I've never been a fan of the action=1 option, and I'm certainly not keen any
> > patches that make action=1 more complicated than it already is.
>
> I think, with max_hw_heartbeat_ms it would be far more simpler. Will attempt and
> send another RFC.
>
> ~Pratyush