public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Scott Wood <scottwood@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] p4080ds starts OS with MSR[EE]=1 and DEC armed?
Date: Tue, 15 Mar 2011 16:24:22 -0500	[thread overview]
Message-ID: <20110315162422.011dea8a@schlenkerla> (raw)
In-Reply-To: <20110315162250.67fff68c@schlenkerla>

On Tue, 15 Mar 2011 16:22:50 -0500
Scott Wood <scottwood@freescale.com> wrote:

> On Tue, 15 Mar 2011 16:16:39 -0500
> Jimi Xenidis <jimix@pobox.com> wrote:
> 
> > That is true for "server" and "classic" because they do not necessarily stop at 0.
> > for embedded you can just:
> > 	/* u-boot leaves decrementer enabled */
> > 	mtspr(SPRN_DECAR, 0); /* paranoia */
> > 	mtspr(SPRN_DEC, 0);
> > 	mtspr(SPRN_TCR, 0);
> > 	mtspr(SPRN_TSR, 0);
> > 
> > And there is no way in hell any timer will go off, right?
> 
> Ah, right.  Forgot it stopped at zero.

Though that last line should be something like mtspr(SPRN_TSR, 0xffffffff);

-Scott

  reply	other threads:[~2011-03-15 21:24 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-03 14:59 [U-Boot] p4080ds starts OS with MSR[EE]=1 and DEC armed? Jimi Xenidis
2011-03-12 22:56 ` Kumar Gala
2011-03-13 15:46   ` Jimi Xenidis
2011-03-15 19:21     ` Timur Tabi
2011-03-15 20:24       ` Scott Wood
2011-03-15 21:16         ` Jimi Xenidis
2011-03-15 21:21           ` Timur Tabi
2011-03-15 21:22             ` Jimi Xenidis
2011-03-15 21:22           ` Scott Wood
2011-03-15 21:24             ` Scott Wood [this message]
2011-03-14 18:09   ` Scott Wood
2011-03-14 19:39     ` Jimi Xenidis
2011-03-15  5:46       ` Kumar Gala
2011-03-14 21:25     ` Kumar Gala
2011-03-14 21:37       ` Scott Wood
2011-03-15  5:39         ` Kumar Gala
2011-03-15 16:11           ` Scott Wood

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=20110315162422.011dea8a@schlenkerla \
    --to=scottwood@freescale.com \
    --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