[RESEND, PATCH 12/13] iommu/mediatek: Change single domain to multiple domains

2019-11-04 Thread Chao Hao
Based on one mtk_iommu_domain, this patch supports multiple mtk_iommu_domains to realize different iova regions. Every module has one smi_larb port, so we can create different mtk_iommu_domains by smi_larb port define. So we will add port_mask variable to mtk_domain_data, if some modules need spec

[PATCH 12/13] iommu/mediatek: Change single domain to multiple domains

2019-10-28 Thread Chao Hao
Based on one mtk_iommu_domain, this patch supports multiple mtk_iommu_domains to realize different iova regions. Every module has one smi_larb port, so we can create different mtk_iommu_domains by smi_larb port define. So we will add port_mask variable to mtk_domain_data, if some modules need spec