]> git.ipfire.org Git - thirdparty/linux.git/commit
iommu/dma: Always allow DMA-FQ when iommupt provides the iommu_domain
authorJason Gunthorpe <jgg@nvidia.com>
Thu, 26 Mar 2026 19:30:32 +0000 (16:30 -0300)
committerJoerg Roedel <joerg.roedel@amd.com>
Wed, 1 Apr 2026 07:50:20 +0000 (09:50 +0200)
commit1c18a1212c772b6a19e8583f2fca73f3a47b60fd
tree2790e5f21559afa929cdba506568fb749f38a596
parenta11661a58c06f7fdfef03a368ef20d05a4ea4ed0
iommu/dma: Always allow DMA-FQ when iommupt provides the iommu_domain

iommupt always supports the semantics required for DMA-FQ, when drivers
are converted to use it they automatically get support.

Detect iommpt directly instead of using IOMMU_CAP_DEFERRED_FLUSH and
remove IOMMU_CAP_DEFERRED_FLUSH from converted drivers.

This will also enable DMA-FQ on RISC-V.

Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
drivers/iommu/amd/iommu.c
drivers/iommu/dma-iommu.c
drivers/iommu/intel/iommu.c