public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Daniel Hobi <dhobi@gmx.net>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] CONFIG_HW_WATCHDOG in 1.1.6
Date: Tue, 20 Mar 2007 09:56:28 +0100	[thread overview]
Message-ID: <45FFA1BC.2040809@gmx.net> (raw)
In-Reply-To: <20070320013638.5E92935260B@atlas.denx.de>

On 20.03.2007 02:36, Wolfgang Denk wrote:
> In message <f608b67d0703191743id58c79cjb0ff4d2fdf1975b7@mail.gmail.com> you wrote:
>> My examination of the source code has shown that there is no watchdog
>> interactions in the tight loop in drivers/ns16550.c:NS16550_getc().
> 
> Seems you are the first to use this serial driver with a watchdog
> turned on...

At least the first one using a watchdog model which does not rely on a 
timer interrupt triggering the (hardware) watchdog.

> Watchdig trigger points are  missing  and  should  be  added  to  the
> driver. I'm looking forward to seeing your patch...

What's the preferred policy to trigger the watchdog in U-Boot? Trigger 
using a timer interrupt (as in lib_ppc/interrupts.c) or add calls to 
WATCHDOG_RESET() to every function which may take longer than some 
fraction of the minimal watchdog period (which is?)?

I know there are functions which disable interrupts and thus have to 
trigger the watchdog themself (like do_bootm).

Best Regards,
Daniel

  reply	other threads:[~2007-03-20  8:56 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-20  0:43 [U-Boot-Users] CONFIG_HW_WATCHDOG in 1.1.6 vb
2007-03-20  1:36 ` Wolfgang Denk
2007-03-20  8:56   ` Daniel Hobi [this message]
2007-03-20 12:10     ` Wolfgang Denk
2007-03-20 22:00   ` vb
2007-03-20 23:02     ` Wolfgang Denk
2007-03-20 23:12       ` vb
2007-03-20  8:52 ` Daniel Hobi
2007-03-20 15:23   ` vb
2007-03-20 21:19     ` Wolfgang Denk

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=45FFA1BC.2040809@gmx.net \
    --to=dhobi@gmx.net \
    --cc=u-boot@lists.denx.de \
    /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