File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -1979,10 +1979,6 @@ static void domain_exit(struct dmar_domain *domain)
1979
1979
/* Remove associated devices and clear attached or cached domains */
1980
1980
domain_remove_dev_info (domain );
1981
1981
1982
- /* destroy iovas */
1983
- if (domain -> domain .type == IOMMU_DOMAIN_DMA )
1984
- iommu_put_dma_cookie (& domain -> domain );
1985
-
1986
1982
if (domain -> pgd ) {
1987
1983
struct page * freelist ;
1988
1984
@@ -4544,10 +4540,6 @@ static struct iommu_domain *intel_iommu_domain_alloc(unsigned type)
4544
4540
return NULL ;
4545
4541
}
4546
4542
4547
- if (type == IOMMU_DOMAIN_DMA &&
4548
- iommu_get_dma_cookie (& dmar_domain -> domain ))
4549
- return NULL ;
4550
-
4551
4543
domain = & dmar_domain -> domain ;
4552
4544
domain -> geometry .aperture_start = 0 ;
4553
4545
domain -> geometry .aperture_end =
You can’t perform that action at this time.
0 commit comments