dma-mapping: direct calls for dma-iommu
authorLeon Romanovsky <leonro@nvidia.com>
Wed, 24 Jul 2024 18:04:49 +0000 (21:04 +0300)
committerChristoph Hellwig <hch@lst.de>
Thu, 22 Aug 2024 04:18:11 +0000 (06:18 +0200)
commitb5c58b2fdc427e7958412ecb2de2804a1f7c1572
tree6990c73ac5918df08b138af03ad83519368e0221
parentf69e342eec008e1bab772d3963c3dd9979293e13
dma-mapping: direct calls for dma-iommu

Directly call into dma-iommu just like we have been doing for dma-direct
for a while.  This avoids the indirect call overhead for IOMMU ops and
removes the need to have DMA ops entirely for many common configurations.

Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
MAINTAINERS
drivers/iommu/Kconfig
drivers/iommu/dma-iommu.c
drivers/iommu/intel/Kconfig
include/linux/device.h
include/linux/dma-map-ops.h
include/linux/iommu-dma.h [new file with mode: 0644]
kernel/dma/Kconfig
kernel/dma/Makefile
kernel/dma/mapping.c