[PATCH 2/8] ARM: dma-mapping: implement dma_map_single on top of dma_map_page
From: Russell King - ARM Linux <hidden>
Date: 2011-06-20 14:39:33
Also in:
linux-arch, linux-mm
From: Russell King - ARM Linux <hidden>
Date: 2011-06-20 14:39:33
Also in:
linux-arch, linux-mm
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.