From: "John Rigby" <jcrigby@gmail.com>
To: "Kenneth Johansson" <kenneth@southpole.se>
Cc: u-boot-users <u-boot-users@lists.sourceforge.net>,
linuxppc-embedded@ozlabs.org, linuxppc-dev@ozlabs.org
Subject: Re: [U-Boot-Users] mpc5121 cache coherency
Date: Wed, 18 Jun 2008 13:38:49 -0600 [thread overview]
Message-ID: <4b73d43f0806181238k4ab0b900w3f18216a5c083248@mail.gmail.com> (raw)
In-Reply-To: <1213817391.27790.27.camel@localhost.localdomain>
Unlike other SOCs with e300 cores the 5121 is not cache coherent. The
problem is an internal bridge that the processor can not snoop across.
On Wed, Jun 18, 2008 at 1:29 PM, Kenneth Johansson <kenneth@southpole.se> wrote:
> I have tried to speed up u-boot by turning on I/D cache during boot.
>
> It sort of works and gives quite a boost but I'm having problems with
> the ethernet driver that no longer works.
>
> What I'm seeing is that the cpu do not notice the ethernet hardwares
> updates that is located in DRAM. Basically what is expected from a cache
> incoherent system.
>
> Now my question is should not the e300 core detect writes to the DRAM
> and reload the cached data ??
>
> ---
> To get cache working I'm turning on the MMU and program some BAT
> registers to a 1-1 mapping where only DRAM has cache on and all other
> memory regions like the IMMR, flash ... has cache off.
>
>
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
>
next prev parent reply other threads:[~2008-06-18 19:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-18 19:29 mpc5121 cache coherency Kenneth Johansson
2008-06-18 19:38 ` John Rigby [this message]
2008-06-18 21:16 ` [U-Boot-Users] " kenneth johansson
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=4b73d43f0806181238k4ab0b900w3f18216a5c083248@mail.gmail.com \
--to=jcrigby@gmail.com \
--cc=kenneth@southpole.se \
--cc=linuxppc-dev@ozlabs.org \
--cc=linuxppc-embedded@ozlabs.org \
--cc=u-boot-users@lists.sourceforge.net \
/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;
as well as URLs for NNTP newsgroup(s).