linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* question on howto use invalidate_dcache_range
@ 2003-03-12 11:20 Stephan Linke
  2003-03-13  7:40 ` Joakim Tjernlund
  2003-03-13 16:27 ` Dan Malek
  0 siblings, 2 replies; 12+ messages in thread
From: Stephan Linke @ 2003-03-12 11:20 UTC (permalink / raw)
  To: Linuxppc-Embedded


Hi,

in November there was the discussion about Joakims patch to 8xx_io/enet.c.
(http://lists.linuxppc.org/linuxppc-embedded/200211/msg00122.html)

Since the result of the discussion didn't seam that clear to me I still have a question related to this.

After all is it realy neccessary to use invalidate_dcache range before giving the transmit buffer to the DMA?
  That's one of Joakims last modifications but what exactly is the reason? It's obvious for the flush command but I couldn't figure
out the reason for invalidate.
Beside the cache line alignment problem (causing nearby data to be flushed or invalidated) are there any other problems to be taken
care of?

Thanks, Stephan


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

end of thread, other threads:[~2003-03-13 21:54 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-12 11:20 question on howto use invalidate_dcache_range Stephan Linke
2003-03-13  7:40 ` Joakim Tjernlund
2003-03-13 11:00   ` Stephan Linke
2003-03-13 13:24     ` Joakim Tjernlund
2003-03-13 15:04       ` Stephan Linke
2003-03-13 16:27 ` Dan Malek
2003-03-13 17:54   ` Joakim Tjernlund
2003-03-13 18:06     ` Dan Malek
2003-03-13 18:19       ` Roland Dreier
2003-03-13 18:39         ` Dan Malek
2003-03-13 19:09           ` Roland Dreier
2003-03-13 21:54       ` Joakim Tjernlund

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