linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* mpc5121 cache coherency
@ 2008-06-18 19:29 Kenneth Johansson
  2008-06-18 19:38 ` [U-Boot-Users] " John Rigby
  0 siblings, 1 reply; 3+ messages in thread
From: Kenneth Johansson @ 2008-06-18 19:29 UTC (permalink / raw)
  To: u-boot-users; +Cc: linuxppc-dev, linuxppc-embedded

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. 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-06-18 21:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-18 19:29 mpc5121 cache coherency Kenneth Johansson
2008-06-18 19:38 ` [U-Boot-Users] " John Rigby
2008-06-18 21:16   ` kenneth johansson

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).