mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: Cypher Wu <cypher.w@gmail.com>
Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>,
	linux-kernel@vger.kernel.org
Subject: Re: Questions about Watch Dog Timer under Linux.
Date: Sat, 12 Dec 2009 13:50:35 +0000	[thread overview]
Message-ID: <20091212135035.0d01018d@lxorguk.ukuu.org.uk> (raw)
In-Reply-To: <f9f38a550912111946w665b267dkc42d184bdc437d02@mail.gmail.com>

> timer. This type of WDT is widely used in our embedded systems and we
> usually install a callback in timer interrupt to clearing WD before
> BSP starting the RTOS kernel, and then starting a task to clear WD and
> uninstall the callback.
> I'm wonder when cope with that type of WD, is there any framework
> already in the Linux kernel and booter, or I've to modify them by
> myself?

Without knowing which boot environment you are using I don't know. For
the kernel itself you may need to touch the timer early on in boot (in
your platform setup code), then set up the driver early on.

There isn't a general framework for this although there may be one I
don't know about implemented in some other specific platform.

Alan

  reply	other threads:[~2009-12-13  1:55 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-09 14:47 Cypher Wu
2009-12-09 14:59 ` Mark Brown
2009-12-11  8:27   ` Cypher Wu
2009-12-11 10:21     ` Mark Brown
2009-12-12  3:46       ` Cypher Wu
2009-12-12 13:50         ` Alan Cox [this message]
2009-12-09 16:29 ` Alan Cox
2009-12-11  8:33   ` Cypher Wu
2009-12-09 17:26 ` Pádraig Brady
2009-12-11  8:38   ` Cypher Wu

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=20091212135035.0d01018d@lxorguk.ukuu.org.uk \
    --to=alan@lxorguk.ukuu.org.uk \
    --cc=broonie@opensource.wolfsonmicro.com \
    --cc=cypher.w@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /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

all inboxes | Powered by JetHome®