dma-iommu: implement ->alloc_noncontiguous
authorChristoph Hellwig <hch@lst.de>
Thu, 28 Jan 2021 13:47:29 +0000 (14:47 +0100)
committerChristoph Hellwig <hch@lst.de>
Mon, 15 Mar 2021 09:02:32 +0000 (10:02 +0100)
commite817ee5f2f95ca58a3b961ae4acfd3885e830b9c
tree901cf46143f989398a39e87ed175ca45a0adb688
parent8230ce9a4e206fa1be17d66245f87cae2935d7d2
dma-iommu: implement ->alloc_noncontiguous

Implement support for allocating a non-contiguous DMA region.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Tomasz Figa <tfiga@chromium.org>
Tested-by: Ricardo Ribalda <ribalda@chromium.org>
drivers/iommu/dma-iommu.c