dma_unmap causing issues with __get_free_pages

2013-08-15 Thread Joel Fernandes
Hi, I'm having some trouble with using the dma_map/unmap API. On unmapping a particular page using dma_unmap, it seems that the PG_dcache_clean flag is set in the page-flags. This is set by the following statement in __dma_page_dev_to_cpu function in arch/arm/mm/dma-mapping.c

Re: dma_unmap causing issues with __get_free_pages

2013-08-15 Thread Russell King - ARM Linux
On Thu, Aug 15, 2013 at 02:35:59AM -0500, Joel Fernandes wrote: Hi, I'm having some trouble with using the dma_map/unmap API. On unmapping a particular page using dma_unmap, it seems that the PG_dcache_clean flag is set in the page-flags. This is set by the following statement in

Re: dma_unmap causing issues with __get_free_pages

2013-08-15 Thread Joel Fernandes
Hi Russell, On 08/15/2013 06:55 AM, Russell King - ARM Linux wrote: On Thu, Aug 15, 2013 at 02:35:59AM -0500, Joel Fernandes wrote: Hi, I'm having some trouble with using the dma_map/unmap API. On unmapping a particular page using dma_unmap, it seems that the PG_dcache_clean flag is set in