File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -1972,6 +1972,7 @@ static struct iommu_domain *arm_smmu_domain_alloc(unsigned type)
1972
1972
1973
1973
if (type != IOMMU_DOMAIN_UNMANAGED &&
1974
1974
type != IOMMU_DOMAIN_DMA &&
1975
+ type != IOMMU_DOMAIN_DMA_FQ &&
1975
1976
type != IOMMU_DOMAIN_IDENTITY )
1976
1977
return NULL ;
1977
1978
Original file line number Diff line number Diff line change @@ -866,7 +866,8 @@ static struct iommu_domain *arm_smmu_domain_alloc(unsigned type)
866
866
struct arm_smmu_domain * smmu_domain ;
867
867
868
868
if (type != IOMMU_DOMAIN_UNMANAGED && type != IOMMU_DOMAIN_IDENTITY ) {
869
- if (using_legacy_binding || type != IOMMU_DOMAIN_DMA )
869
+ if (using_legacy_binding ||
870
+ (type != IOMMU_DOMAIN_DMA && type != IOMMU_DOMAIN_DMA_FQ ))
870
871
return NULL ;
871
872
}
872
873
/*
You can’t perform that action at this time.
0 commit comments