RE: [PATCH] fsldma: use PCI Read Multiple command
- From: "Liu Dave-R63238" <DaveLiu@xxxxxxxxxxxxx>
- Date: Tue, 28 Apr 2009 09:31:08 +0800
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.
How about FIFO RAM case?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [PATCH] fsldma: use PCI Read Multiple command
- From: David Hawkins
- Re: [PATCH] fsldma: use PCI Read Multiple command
- References:
- [PATCH] fsldma: use PCI Read Multiple command
- From: Ira Snyder
- RE: [PATCH] fsldma: use PCI Read Multiple command
- From: Liu Dave-R63238
- Re: [PATCH] fsldma: use PCI Read Multiple command
- From: Timur Tabi
- [PATCH] fsldma: use PCI Read Multiple command
- Prev by Date: Re: [PATCH] fix leak of swap accounting as stale swap cache under memcg
- Next by Date: Re: [PATCH] fsldma: use PCI Read Multiple command
- Previous by thread: Re: [PATCH] fsldma: use PCI Read Multiple command
- Next by thread: Re: [PATCH] fsldma: use PCI Read Multiple command
- Index(es):
Relevant Pages
|