]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: dma-mapping: remove custom consistent dma region
authorMarek Szyprowski <m.szyprowski@samsung.com>
Fri, 8 Jun 2012 10:08:32 +0000 (12:08 +0200)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 23 Jul 2012 16:21:06 +0000 (18:21 +0200)
commit56d046f3d81e00b767c4f051b56fb10d76712da5
tree7079945d0aa0d008d17da42bfad2c5625aa3985c
parent86a5132ec3989440708d77328891cd63dc3c86ad
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,
becasue 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>
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