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)
committerGrazvydas Ignotas <notasas@gmail.com>
Sat, 26 Oct 2013 22:48:09 +0000 (01:48 +0300)
commit5d7b3eaf94e06f0439a45785dbfd8018d62864ca
treebf1c47f1369ae43fb5d52bda9e802438498850c7
parent95c58141a5e2c8ef43340ad88c0be3d2681d2a69
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>
Conflicts:

arch/arm/mm/dma-mapping.c
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