[PATCH 2/8] ARM: dma-mapping: implement dma_map_single on top of dma_map_page

Russell King - ARM Linux linux at arm.linux.org.uk
Mon Jun 20 10:39:11 EDT 2011


On Mon, Jun 20, 2011 at 09:50:07AM +0200, Marek Szyprowski wrote:
> This patch consolidates dma_map_single and dma_map_page calls. This is
> required to let dma-mapping framework on ARM architecture use common,
> generic dma-mapping helpers.

This breaks DMA API debugging, which requires that dma_map_page and
dma_unmap_page are paired separately from dma_map_single and
dma_unmap_single().

This also breaks dmabounce when used with a highmem-enabled system -
dmabounce refuses the dma_map_page() API but allows the dma_map_single()
API.



More information about the linux-arm-kernel mailing list