Re: PCI DMA to small buffers on cache-incoherent arch

From: David S. Miller (
Date: Mon Jun 10 2002 - 05:24:01 EST

   From: Oliver Neukum <>
   Date: Mon, 10 Jun 2002 12:00:14 +0200

> You flush either before/after depending upon whether the cpu caches
> are writeback in nature or not, and the cpu is not allowed to touch
> those addresses while the device is doing the DMA.
   So we need some kind of cache_aligned macro in our USB data
   structures if they contain a buffer. Which macro would we have to use ?

For now use SMP_CACHE_BYTES I guess.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Sat Jun 15 2002 - 22:00:16 EST