]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbc7e7a861269cf97abd62acd41c98ee4ebe781eb
tree34a4bff48d8f3e13c8267a7dcddd310a1848ebf1
parent7c37af33fb45c507ec2064cbf123a0f26f26e487
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