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)
committerLiviu Dudau <Liviu.Dudau@arm.com>
Fri, 31 Oct 2014 12:22:14 +0000 (12:22 +0000)
commite2dfde45faccacf0e4811318a161c110bfc6c658
tree36d072ea6bd841549a4e1fc4c6ebc6a1e0eb44fe
parent9c65929019842f06ed24b6e5f5561441d3c6879f
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>
arch/arm64/Kconfig
arch/arm64/mm/dma-mapping.c