arm64: add atomic pool for non-coherent and CMA allocations
authorLaura Abbott <lauraa@codeaurora.org>
Thu, 9 Oct 2014 22:26:44 +0000 (15:26 -0700)
committerMark Brown <broonie@kernel.org>
Fri, 23 Jan 2015 20:28:53 +0000 (20:28 +0000)
commit9698ac7c353d6f22100c9fa24a830cae6a466cb4
tree7b63451138c3e5dc2aa1ea87c81f10c28921f46c
parent4b647eeef8ef684754b58b46eb5bc7d9b55e7279
arm64: add atomic pool for non-coherent and CMA allocations

Neither CMA nor noncoherent allocations support atomic allocations.
Add a dedicated atomic pool to support this.

Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: David Riley <davidriley@chromium.org>
Cc: Olof Johansson <olof@lixom.net>
Cc: Ritesh Harjain <ritesh.harjani@gmail.com>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Thierry Reding <thierry.reding@gmail.com>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit d4932f9e81ae7a7bf3c3967e48373909b9c98ee5)
Signed-off-by: Mark Brown <broonie@kernel.org>
arch/arm64/Kconfig
arch/arm64/mm/dma-mapping.c
drivers/base/dma-mapping.c