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)
committerHiroshi Doyu <hdoyu@nvidia.com>
Fri, 7 Sep 2012 08:46:10 +0000 (11:46 +0300)
commit55557ba47f5ab921551ef26d310cb0090bc60f81
tree860bef5b5ffcc66530df90fd3192382da0747a28
parentf6fad8b2e55060e4d1fb4874d17147bd36e848c0
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

Change-Id: I376c99671f8dc3d078d1951022bacec4e46d5865
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.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