]> git.karo-electronics.de Git - linux-beck.git/commit
ARM: dma-mapping: remove custom consistent dma region
authorMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 30 Jul 2012 07:11:33 +0000 (09:11 +0200)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 30 Jul 2012 10:25:45 +0000 (12:25 +0200)
commite9da6e9905e639b0f842a244bc770b48ad0523e9
treec99beeb259716121dcb388f35f54f99a2a414a92
parent5e6cafc83e30f0f70c79a2b7aef237dc57e29f02
ARM: dma-mapping: remove custom consistent dma region

This patch changes dma-mapping subsystem to use generic vmalloc areas
for all consistent dma allocations. This increases the total size limit
of the consistent allocations and removes platform hacks and a lot of
duplicated code.

Atomic allocations are served from special pool preallocated on boot,
because vmalloc areas cannot be reliably created in atomic context.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Kyungmin Park <kyungmin.park@samsung.com>
Reviewed-by: Minchan Kim <minchan@kernel.org>
Documentation/kernel-parameters.txt
arch/arm/include/asm/dma-mapping.h
arch/arm/mm/dma-mapping.c
arch/arm/mm/mm.h
include/linux/vmalloc.h
mm/vmalloc.c