Hi,

here are the words of the wise concerning the DMA problems.
I'd suggest that we #define a macro for the time being.

        Regards
                Oliver

----------  Weitergeleitete Nachricht  ----------

Subject: Re: PCI DMA to small buffers on cache-incoherent arch
Date: Mon, 10 Jun 2002 03:24:01 -0700 (PDT)
From: "David S. Miller" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]

   From: Oliver Neukum <[EMAIL PROTECTED]>
   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.

-------------------------------------------------------


_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas - 
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink

_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to