aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVasant Hegde <[email protected]>2023-10-16 05:13:05 +0000
committerJoerg Roedel <[email protected]>2023-10-16 09:39:41 +0200
commitcedc811c76778bdef91d405717acee0de54d8db5 (patch)
tree6d4ac2c40664f0e9d9cc1dbad136483bb57fff97
parent189116d5ad54eee2bab82c5f12e837912fc0b4c4 (diff)
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 <[email protected]> Signed-off-by: Vasant Hegde <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Joerg Roedel <[email protected]>
-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;
/*