diff options
| author | Alex Williamson <alex.williamson@nvidia.com> | 2026-04-08 21:44:42 +0300 |
|---|---|---|
| committer | Will Deacon <will@kernel.org> | 2026-04-09 15:02:40 +0300 |
| commit | ebfaf2bcc1902d293ed25f5a0580c96f73c47cbb (patch) | |
| tree | 1c074914228abe46ba62ff341468fa839efd0a3e | |
| parent | 1c18a1212c772b6a19e8583f2fca73f3a47b60fd (diff) | |
| download | linux-ebfaf2bcc1902d293ed25f5a0580c96f73c47cbb.tar.xz | |
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>
| -rw-r--r-- | drivers/iommu/intel/iommu.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iommu/intel/iommu.c b/drivers/iommu/intel/iommu.c index 80b183e207e5..6418f7cb865c 100644 --- a/drivers/iommu/intel/iommu.c +++ b/drivers/iommu/intel/iommu.c @@ -3212,6 +3212,7 @@ static bool intel_iommu_capable(struct device *dev, enum iommu_cap cap) switch (cap) { case IOMMU_CAP_CACHE_COHERENCY: + return true; case IOMMU_CAP_PRE_BOOT_PROTECTION: return dmar_platform_optin(); case IOMMU_CAP_ENFORCE_CACHE_COHERENCY: |
