Re: [PATCH 4/8] ARM: dma-mapping: implement dma sg methods on top of generic dma ops
From: Russell King - ARM Linux <hidden>
Date: 2011-06-20 14:40:28
Also in:
linux-arm-kernel, linux-mm
From: Russell King - ARM Linux <hidden>
Date: 2011-06-20 14:40:28
Also in:
linux-arm-kernel, linux-mm
On Mon, Jun 20, 2011 at 09:50:09AM +0200, Marek Szyprowski wrote:
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.
No. We really don't want to do this. If we want to move the dsb() out of the mapping functions (which I have a patch for) to avoid doing a dsb() on each and every sg segment, then we must not use the generic stuff. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>