From: Vasant Hegde Date: Mon, 16 Oct 2023 05:13:05 +0000 (+0000) Subject: iommu/amd: Remove DMA_FQ type from domain allocation path X-Git-Tag: microblaze-v6.8~32^2^6 X-Git-Url: http://git.monstr.eu/?a=commitdiff_plain;h=cedc811c76778bdef91d405717acee0de54d8db5;p=linux-2.6-microblaze.git 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 Signed-off-by: Vasant Hegde Link: https://lore.kernel.org/r/20231016051305.13091-1-vasant.hegde@amd.com Signed-off-by: Joerg Roedel --- 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; /*