]> git.ipfire.org Git - thirdparty/linux.git/commit
iommu/dma: add support for DMA_ATTR_REQUIRE_COHERENT attribute
authorLeon Romanovsky <leonro@nvidia.com>
Mon, 16 Mar 2026 19:06:50 +0000 (21:06 +0200)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Fri, 20 Mar 2026 11:05:56 +0000 (12:05 +0100)
commit636e6572e848339d2ae591949fe81de2cef00563
tree36c6dae0a9ebe4a4c50d59eac8725c4d8138d33d
parent2536617f20ddc7c2f4cef59b549aa45d166b03b1
iommu/dma: add support for DMA_ATTR_REQUIRE_COHERENT attribute

Add support for the DMA_ATTR_REQUIRE_COHERENT attribute to the exported
functions. This attribute indicates that the SWIOTLB path must not be
used and that no sync operations should be performed.

Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Link: https://lore.kernel.org/r/20260316-dma-debug-overlap-v3-6-1dde90a7f08b@nvidia.com
drivers/iommu/dma-iommu.c