[RESEND,PATCH 08/13] iommu/mediatek: Add mtk_domain_data structure

2019-11-04 Thread Chao Hao
Add mtk_domain_data structure to describe how many iova regions there are and the relevant the start and end address of each iova region. The number of iova region is equal to the number of mtk_iommu_domain. So we will use mtk_domain_data to initialize the start and end iova of mtk_iommu_domain.

[PATCH 08/13] iommu/mediatek: Add mtk_domain_data structure

2019-10-28 Thread Chao Hao
Add mtk_domain_data structure to describe how many iova regions there are and the relevant the start and end address of each iova region. The number of iova region is equal to the number of mtk_iommu_domain. So we will use mtk_domain_data to initialize the start and end iova of mtk_iommu_domain.