Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 60c4e804 authored by Robin Murphy's avatar Robin Murphy Committed by Joerg Roedel
Browse files

arm64: Wire up iommu_dma_{map, unmap}_resource()



With no coherency to worry about, just plug'em straight in.

Acked-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
Signed-off-by: default avatarRobin Murphy <robin.murphy@arm.com>
Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
parent 51f8cc9e
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -796,6 +796,8 @@ static struct dma_map_ops iommu_dma_ops = {
	.sync_single_for_device = __iommu_sync_single_for_device,
	.sync_sg_for_cpu = __iommu_sync_sg_for_cpu,
	.sync_sg_for_device = __iommu_sync_sg_for_device,
	.map_resource = iommu_dma_map_resource,
	.unmap_resource = iommu_dma_unmap_resource,
	.dma_supported = iommu_dma_supported,
	.mapping_error = iommu_dma_mapping_error,
};