[PATCH] fsldma: use PCI Read Multiple command
Timur Tabi
timur at freescale.com
Tue Apr 28 00:31:12 EST 2009
On Mon, Apr 27, 2009 at 4:09 AM, Liu Dave-R63238 <DaveLiu at freescale.com> wrote:
> You are assuming the PCI memory space is prefetchable( no side effect)
> for DMA.
> Is it possible that DMA is from non-prefetchable memory space?
This should be a safe assumption for this driver. Remember, this
driver just does offload memcpy, from one region to another. So the
PCI memory that you are reading from should be just a buffer of data,
and there should be side-effect of reading it.
However, I would like to see a comment at the top of the file warning
people that copying from PCI memory will result in prefetched reads.
--
Timur Tabi
Linux kernel developer at Freescale
More information about the Linuxppc-dev
mailing list