All of lore.kernel.org
 help / color / mirror / Atom feed
* mpc5121 cache coherency
@ 2008-06-18 19:29 ` Kenneth Johansson
  0 siblings, 0 replies; 6+ 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] 6+ messages in thread

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

Thread overview: 6+ 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:29 ` [U-Boot-Users] " Kenneth Johansson
2008-06-18 19:38 ` John Rigby
2008-06-18 19:38   ` John Rigby
2008-06-18 21:16   ` kenneth johansson
2008-06-18 21:16     ` kenneth johansson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.