Skip to contentSkip to conversation

iommu/amd: Remove DMA_FQ type from domain allocation path

PATCH Applied Vasant Hegde 2 participants 2 messages Oct 16, 2023

Subsystems (2)
lore
Share & tools
lore

Vasant Hegde

author maintainer
#0 lore raw

PATCH 1/1 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.

---
 drivers/iommu/amd/iommu.c | 1 -
 1 file changed, 1 deletion(-)
drivers/iommu/amd/iommu.c +0 -1
index 8b459a2aae3f..dc8f9eaa2452 100644
@@ -2394,7 +2394,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;
 	/*
Signature · 1 line
2.31.1
maintainer Applied
#1 lore raw
Quoted 2 lines · Vasant Hegde
 drivers/iommu/amd/iommu.c | 1 -
 1 file changed, 1 deletion(-)

Applied, thanks.