]> Git Repo - linux.git/commitdiff
iommu/amd: Remove DMA_FQ type from domain allocation path
authorVasant Hegde <[email protected]>
Mon, 16 Oct 2023 05:13:05 +0000 (05:13 +0000)
committerJoerg Roedel <[email protected]>
Mon, 16 Oct 2023 07:39:41 +0000 (09:39 +0200)
.. 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]>
drivers/iommu/amd/iommu.c

index d996a6f22a5fcc6d66af54af23937be38d63fc5d..a284768cb542be9ce3834a44a18bb5e7f9bef65e 100644 (file)
@@ -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;
        /*
This page took 0.063784 seconds and 4 git commands to generate.