public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] watchdog/imx_watchdog: do not set WCR_WDW
Date: Thu, 26 Mar 2015 09:27:26 +0100	[thread overview]
Message-ID: <5513C2EE.4030408@denx.de> (raw)
In-Reply-To: <5513BD12.6030301@linutronix.de>

Hi Sebastian,

On 26/03/2015 09:02, Sebastian Andrzej Siewior wrote:
> On 03/25/2015 04:53 PM, Stefano Babic wrote:
>> On 03/03/2015 17:45, Sebastian Andrzej Siewior wrote:
>>> with WCR_WDW set, the watchdog won't trigger if we bootet linux and idle
>>> around while the watchdog is not triggered. It seems the timer makes
>>> progress very slowly if at all. I managed to remain 20minutes alive
>>> while the timeout was set to 60secs. It reboots within 60secs if I start
>>> a busyloop in userland (something like "while (1) { }").
>>>
>>> While I don't see a reason why the WDT should not be running while the
>>> CPU is in idle, I'm dropping this bit.
>>>
>>> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
>>> ---
>>
>> Applied to u-boot-imx, thanks !
> 
> Thanks. What just came to mind: In case you do suspend-to-mem. Would
> the watchdog trigger then? I am not sure and I have no way to test?

I have also not tested, but in my understanding this is ruled by the
WDZST. This is also a write-once bit, and suspend the watchdog timer
during low power modes.

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================

      reply	other threads:[~2015-03-26  8:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-03 16:45 [U-Boot] [PATCH] watchdog/imx_watchdog: do not set WCR_WDW Sebastian Andrzej Siewior
2015-03-25  8:03 ` Stefano Babic
2015-03-25 12:15   ` Sebastian Andrzej Siewior
2015-03-25 13:08     ` Stefano Babic
2015-03-25 15:53 ` Stefano Babic
2015-03-26  8:02   ` Sebastian Andrzej Siewior
2015-03-26  8:27     ` Stefano Babic [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=5513C2EE.4030408@denx.de \
    --to=sbabic@denx.de \
    --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