mirror of
https://github.com/torvalds/linux
synced 2024-10-07 11:53:31 +00:00
iommu/amd: Remove DMA_FQ type from domain allocation path
.. as drivers won't see DMA_FQ any more.
See commit a4fdd97622
("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>
This commit is contained in:
parent
189116d5ad
commit
cedc811c76
|
@ -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;
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue