Re: [PATCH v3 5/7] iommu/mediatek: Add sub_comm id in translation fault

2020-05-25 Thread Yong Wu
On Sat, 2020-05-09 at 16:36 +0800, Chao Hao wrote: > The max larb number that a iommu HW support is 8(larb0~larb7 in the below > diagram). > If the larb's number is over 8, we use a sub_common for merging > several larbs into one larb. At this case, we will extend larb_id: > bit[11:9] means

[PATCH v3 5/7] iommu/mediatek: Add sub_comm id in translation fault

2020-05-09 Thread Chao Hao
The max larb number that a iommu HW support is 8(larb0~larb7 in the below diagram). If the larb's number is over 8, we use a sub_common for merging several larbs into one larb. At this case, we will extend larb_id: bit[11:9] means common-id; bit[8:7] means subcommon-id; >From these two variable,