[PATCH 2/2] watchdog: add watchdog behavior configuration

Tom Rini
2020-09-25T13:00:39Z

On Fri, Sep 25, 2020 at 01:29:18PM +0200, Heinrich Schuchardt wrote:
> On 25.09.20 10:36, Wolfgang Denk wrote:
> > Dear Tom,
> >
> > In message <20200924131931.GF14816@bill-the-cat> you wrote:
> >>
> >> I'm talking about the case where we say we've enabled the WDT to
> >> supervise OS, but then bootefi something and have disabled the watchdog
> >> (to meet UEFI requirements) but didn't tell the user we've turned off
> >> the WDT that we had told them is on.
> >
> > Any so-called "watchdog" that can be disabled / switched off by
> > software is not really woth this name. As such, the concept of
> > disabling a watchdog in software, is misleading at best and should
> > never ibe implemented.
>
> If we want to boot UEFI payloads, we will have to follow the UEFI
> specification even if we think it is not perfect.

I really really want to know what the UEFI specification says about
hardware watchdogs. Especially given the push to use a subset of UEFI
for embedded. Most modern SoCs include a watchdog IP block and it can
be used for a traditional watchdog and it's also used for reset. Or
simply must be serviced periodically.

--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200925/31854b6f/attachment.sig>