diff options
author | Robin Murphy <robin.murphy@arm.com> | 2023-05-04 22:10:56 +0100 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2023-05-22 17:38:45 +0200 |
commit | a4fdd976227240b06ced89b5df88a1a1f388f092 (patch) | |
tree | 063b300e46cfcab8257fdc83262fd5db789f2ed7 /drivers/iommu/intel/iommu.c | |
parent | 4a20ce0ff68eb6fc4b1e8f25139c93b312f21229 (diff) | |
download | linux-a4fdd976227240b06ced89b5df88a1a1f388f092.tar.gz linux-a4fdd976227240b06ced89b5df88a1a1f388f092.tar.bz2 linux-a4fdd976227240b06ced89b5df88a1a1f388f092.zip |
iommu: Use flush queue capability
It remains really handy to have distinct DMA domain types within core
code for the sake of default domain policy selection, but we can now
hide that detail from drivers by using the new capability instead.
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Tested-by: Jerry Snitselaar <jsnitsel@redhat.com> # amd, intel, smmu-v3
Reviewed-by: Jerry Snitselaar <jsnitsel@redhat.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/1c552d99e8ba452bdac48209fa74c0bdd52fd9d9.1683233867.git.robin.murphy@arm.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/intel/iommu.c')
-rw-r--r-- | drivers/iommu/intel/iommu.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iommu/intel/iommu.c b/drivers/iommu/intel/iommu.c index ff923298f8ed..8096273b034c 100644 --- a/drivers/iommu/intel/iommu.c +++ b/drivers/iommu/intel/iommu.c @@ -4064,7 +4064,6 @@ static struct iommu_domain *intel_iommu_domain_alloc(unsigned type) case IOMMU_DOMAIN_BLOCKED: return &blocking_domain; case IOMMU_DOMAIN_DMA: - case IOMMU_DOMAIN_DMA_FQ: case IOMMU_DOMAIN_UNMANAGED: dmar_domain = alloc_domain(type); if (!dmar_domain) { |