From: Jerry Van Baren <gerald.vanbaren@ge.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] 8313erdb: Set guarded bit on BAT that covers the end of the address space.
Date: Wed, 18 Mar 2009 08:53:17 -0400 [thread overview]
Message-ID: <49C0EEBD.2020405@ge.com> (raw)
In-Reply-To: <200903171446.56296.vapier@gentoo.org>
Mike Frysinger wrote:
> On Tuesday 17 March 2009 14:18:13 Scott Wood wrote:
>> Mike Frysinger wrote:
[snip]
>> I don't know of any amount of "nop" instructions that would be
>> architecturally guaranteed to avoid this -- they're no-ops, not syncs
>> (despite how some other architectures use them). They can be discarded
>> as fast as the chip can decode them.
>
> right, it depends on the pipeline. some let the nops force the address decode
> stages to get filled so they dont get speculatively filled and then fetched.
> sounds like the ppc pipeline doesnt operate that way.
For the record, using NOPs to fill the pipeline is a poor solution
because it is very implementation specific: you have to assume a certain
implementation (how NOPs are processed and the depth of the pipeline)
for this to work.
If you switched PowerPC processors (been known to happen) or, if
Freescale ever made a Super Deluxe 100% Backward Compatible Version of
your selected CPU with a deeper pipeline (never have that I know about,
but we can dream...), the NOP method would mysteriously break again.
Not only that, but it would mysteriously break 5 years or more from now
when we've all forgotten what the fix was. The result would be that we
would have to spend lots of energy resurrecting old boards, old
compilers, and old code only to discover we were done in by assumptions.
As Scott so eloquently pointed out, /that's/ why there is a "guarded"
bit. (OK ok, he actually pointed out "That's /why/ there is a guarded
bit." ;-)
[snip]
> thanks for the info
> -mike
Best regards,
gvb
next prev parent reply other threads:[~2009-03-18 12:53 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-17 17:09 [U-Boot] [PATCH] 8313erdb: Set guarded bit on BAT that covers the end of the address space Scott Wood
2009-03-17 17:43 ` Anton Vorontsov
2009-03-17 19:49 ` Scott Wood
2009-03-17 20:12 ` Anton Vorontsov
2009-03-17 17:47 ` Mike Frysinger
2009-03-17 17:52 ` Scott Wood
2009-03-17 18:07 ` Mike Frysinger
2009-03-17 18:13 ` Kumar Gala
2009-03-17 18:38 ` Mike Frysinger
2009-03-17 18:18 ` Scott Wood
2009-03-17 18:46 ` Mike Frysinger
2009-03-17 19:11 ` Scott Wood
2009-03-18 12:53 ` Jerry Van Baren [this message]
2009-03-18 7:41 ` Norbert van Bolhuis
2009-03-23 9:51 ` Liu Dave-R63238
2009-03-30 22:56 ` Kim Phillips
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=49C0EEBD.2020405@ge.com \
--to=gerald.vanbaren@ge.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