LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Ben Warren <bwarren@qstreams.com>
To: alayrac <christophe.alayrac@cresitt.com>,
	galak@kernel.crashing.org, linuxppc-embedded@ozlabs.org
Subject: Re: RE : Reset cause API
Date: Thu, 8 Mar 2007 07:20:56 -0800 (PST)	[thread overview]
Message-ID: <988938.70070.qm@web310.biz.mail.mud.yahoo.com> (raw)
In-Reply-To: <000501c7618f$89492bc0$c900a8c0@CRESITTLAB>

Thanks Chris & Kumar,
--- alayrac <christophe.alayrac@cresitt.com> wrote:


> The type of reset is recorded in the most-recent
> reset field of the
> debug-status register (DBSR[MRR]). System software
> can examine this
> field if it needs to determine the cause of a reset.
> The effect of a
> reset on the processor is always the same regardless
> of the type.
> 
> For more details you can see ppc-ref-guide.pdf (in
> EDK doc directory).
> Chris

The Freescale SoCs also have a Reset Status Register
(RSR) than contains the same kind of information.  I
wa s curious whether a system call exists or whether I
need to write my own.

What I'm really interested in knowing is whether the
last boot was cold(hard) or warm(soft).  The type of
products I work on have devices that must only be
initialized on a cold boot, to avoid affecting the
data path.

regards,
Ben 

      reply	other threads:[~2007-03-08 15:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-05 21:22 Reset cause API Ben Warren
2007-03-08 14:29 ` Kumar Gala
2007-03-08 14:39   ` RE : " alayrac
2007-03-08 15:20     ` Ben Warren [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=988938.70070.qm@web310.biz.mail.mud.yahoo.com \
    --to=bwarren@qstreams.com \
    --cc=christophe.alayrac@cresitt.com \
    --cc=galak@kernel.crashing.org \
    --cc=linuxppc-embedded@ozlabs.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