summaryrefslogtreecommitdiff
path: root/drivers/iommu/amd
diff options
context:
space:
mode:
authorVasant Hegde <vasant.hegde@amd.com>2023-10-16 08:13:05 +0300
committerJoerg Roedel <jroedel@suse.de>2023-10-16 10:39:41 +0300
commitcedc811c76778bdef91d405717acee0de54d8db5 (patch)
tree6d4ac2c40664f0e9d9cc1dbad136483bb57fff97 /drivers/iommu/amd
parent189116d5ad54eee2bab82c5f12e837912fc0b4c4 (diff)
downloadlinux-cedc811c76778bdef91d405717acee0de54d8db5.tar.xz
iommu/amd: Remove DMA_FQ type from domain allocation path
.. as drivers won't see DMA_FQ any more. See commit a4fdd9762272 ("iommu: Use flush queue capability") for details. Suggested-by: Robin Murphy <robin.murphy@arm.com> Signed-off-by: Vasant Hegde <vasant.hegde@amd.com> Link: https://lore.kernel.org/r/20231016051305.13091-1-vasant.hegde@amd.com Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/amd')
-rw-r--r--drivers/iommu/amd/iommu.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iommu/amd/iommu.c b/drivers/iommu/amd/iommu.c
index d996a6f22a5f..a284768cb542 100644
--- a/drivers/iommu/amd/iommu.c
+++ b/drivers/iommu/amd/iommu.c
@@ -2148,7 +2148,6 @@ static struct protection_domain *protection_domain_alloc(unsigned int type)
case IOMMU_DOMAIN_IDENTITY:
return domain;
case IOMMU_DOMAIN_DMA:
- case IOMMU_DOMAIN_DMA_FQ:
pgtable = amd_iommu_pgtable;
break;
/*