arc: use the generic remapping allocator for coherent DMA allocations
authorChristoph Hellwig <hch@lst.de>
Fri, 14 Jun 2019 14:26:41 +0000 (16:26 +0200)
committerChristoph Hellwig <hch@lst.de>
Tue, 25 Jun 2019 12:28:05 +0000 (14:28 +0200)
commitf73c904534393133e7ddbbe5c36bb007f9c2fb7f
tree34a4bff48d8f3e13c8267a7dcddd310a1848ebf1
parentd98849aff87911013aadb730138ab728b52fc547
arc: use the generic remapping allocator for coherent DMA allocations

Replace the code that sets up uncached PTEs with the generic vmap based
remapping code.  It also provides an atomic pool for allocations from
non-blocking context, which we not properly supported by the existing
arc code.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Evgeniy Paltsev <paltsev@synopsys.com>
Tested-by: Evgeniy Paltsev <paltsev@synopsys.com>
arch/arc/Kconfig
arch/arc/mm/dma.c