dma-mapping: add new {alloc,free}_noncoherent dma_map_ops methods
authorChristoph Hellwig <hch@lst.de>
Tue, 1 Sep 2020 11:59:45 +0000 (13:59 +0200)
committerChristoph Hellwig <hch@lst.de>
Fri, 25 Sep 2020 04:20:47 +0000 (06:20 +0200)
commitde7cf917768f438aae6d2f4e9bced3739f15f5b6
treeded43ac607a6825a0e1d73e1b199568b005f7905
parentefa70f2fdc842e63a0a13223e0e83cedcc2117f1
dma-mapping: add new {alloc,free}_noncoherent dma_map_ops methods

This will allow IOMMU drivers to allocate non-contigous memory and
return a vmapped virtual address.

Signed-off-by: Christoph Hellwig <hch@lst.de>
include/linux/dma-mapping.h
kernel/dma/mapping.c