arm64: add atomic pool for non-coherent and CMA allocations

Linux Kernel / Linux Kernel - Laura Abbott [codeaurora.org] - 9 October 2014 21:25 UTC

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

d4932f9 arm64: add atomic pool for non-coherent and CMA allocations
arch/arm64/Kconfig | 1 +
arch/arm64/mm/dma-mapping.c | 164 ++++++++++++++++++++++++++++++++++++++-----
2 files changed, 146 insertions(+), 19 deletions(-)

Upstream: git.kernel.org


  • Share