]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
iommu/vt-d: Restore IOMMU_CAP_CACHE_COHERENCY
authorAlex Williamson <alex.williamson@nvidia.com>
Wed, 8 Apr 2026 18:44:42 +0000 (12:44 -0600)
committerWill Deacon <will@kernel.org>
Thu, 9 Apr 2026 12:02:40 +0000 (13:02 +0100)
commitebfaf2bcc1902d293ed25f5a0580c96f73c47cbb
tree1c074914228abe46ba62ff341468fa839efd0a3e
parent1c18a1212c772b6a19e8583f2fca73f3a47b60fd
iommu/vt-d: Restore IOMMU_CAP_CACHE_COHERENCY

In removing IOMMU_CAP_DEFERRED_FLUSH, the below referenced commit
was over-eager in removing the return, resulting in the test for
IOMMU_CAP_CACHE_COHERENCY falling through to an irrelevant option.

Restore dropped return.

Fixes: 1c18a1212c77 ("iommu/dma: Always allow DMA-FQ when iommupt provides the iommu_domain")
Signed-off-by: Alex Williamson <alex.williamson@nvidia.com>
Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Will Deacon <will@kernel.org>
drivers/iommu/intel/iommu.c