Re: [PATCH 2/8] iommu/mediatek: Add mt2712 IOMMU support

2017-08-12 Thread Yong Wu
On Fri, 2017-08-11 at 18:24 +0100, Robin Murphy wrote: > On 11/08/17 10:56, Yong Wu wrote: > > The M4U IP blocks in mt2712 is MTK's generation2 M4U which use the > > Short-descriptor like mt8173, and most of the HW registers are the > > same. > > > > The difference is that there are 2 M4U HWs in

Re: [PATCH 2/8] iommu/mediatek: Add mt2712 IOMMU support

2017-08-11 Thread Robin Murphy
On 11/08/17 10:56, Yong Wu wrote: > The M4U IP blocks in mt2712 is MTK's generation2 M4U which use the > Short-descriptor like mt8173, and most of the HW registers are the > same. > > The difference is that there are 2 M4U HWs in mt2712 while there's > only one in mt8173. The purpose of 2 M4U HWs

[PATCH 2/8] iommu/mediatek: Add mt2712 IOMMU support

2017-08-11 Thread Yong Wu
The M4U IP blocks in mt2712 is MTK's generation2 M4U which use the Short-descriptor like mt8173, and most of the HW registers are the same. The difference is that there are 2 M4U HWs in mt2712 while there's only one in mt8173. The purpose of 2 M4U HWs is for balance the bandwidth. Normally if