Re: [PATCHv7 5/9] ARM: dma-mapping: implement dma sg methods on top of any generic dma ops

2012-03-26 Thread Subash Patel
Hi Marek, As per our discussion over IRC, I would like to check with you the feasibility to extend the dma operation calls for the coherent regions. You said that since struct page wont be available for the buffers in these regions, functions like arm_dma_map_sg() (below) will fail in the cac

[PATCHv7 5/9] ARM: dma-mapping: implement dma sg methods on top of any generic dma ops

2012-02-29 Thread Marek Szyprowski
This patch converts all dma_sg methods to be generic (independent of the current DMA mapping implementation for ARM architecture). All dma sg operations are now implemented on top of respective dma_map_page/dma_sync_single_for* operations from dma_map_ops structure. Signed-off-by: Marek Szyprowski