Re: [PATCH v5 0/6] MT8173 IOMMU SUPPORT

2015-11-24 Thread Yong Wu
On Tue, 2015-11-24 at 11:38 +0100, Thierry Reding wrote: > On Tue, Nov 24, 2015 at 01:58:13PM +0800, Yong Wu wrote: > > On Fri, 2015-10-23 at 11:26 +0200, Joerg Roedel wrote: > > > On Thu, Oct 22, 2015 at 12:40:02PM +0800, Yong Wu wrote: > > > > But the mtk-iommu depend on the drivers/memory/m

Re: [PATCH v5 0/6] MT8173 IOMMU SUPPORT

2015-11-24 Thread Thierry Reding
On Tue, Nov 24, 2015 at 01:58:13PM +0800, Yong Wu wrote: > On Fri, 2015-10-23 at 11:26 +0200, Joerg Roedel wrote: > > On Thu, Oct 22, 2015 at 12:40:02PM +0800, Yong Wu wrote: > > > But the mtk-iommu depend on the drivers/memory/mtk-smi.c(mtk-iommu > > > has called a function of the mtk-smi). >

Re: [PATCH v5 0/6] MT8173 IOMMU SUPPORT

2015-11-23 Thread Yong Wu
On Fri, 2015-10-23 at 11:26 +0200, Joerg Roedel wrote: > On Thu, Oct 22, 2015 at 12:40:02PM +0800, Yong Wu wrote: > > But the mtk-iommu depend on the drivers/memory/mtk-smi.c(mtk-iommu > > has called a function of the mtk-smi). > > So if there is dependence here, How should we do to merge

Re: [PATCH v5 0/6] MT8173 IOMMU SUPPORT

2015-10-23 Thread Joerg Roedel
On Thu, Oct 22, 2015 at 12:40:02PM +0800, Yong Wu wrote: > But the mtk-iommu depend on the drivers/memory/mtk-smi.c(mtk-iommu > has called a function of the mtk-smi). > So if there is dependence here, How should we do to merge them? I can surely merge mtk-smi too, if it gets proper Revie

Re: [PATCH v5 0/6] MT8173 IOMMU SUPPORT

2015-10-21 Thread Yong Wu
On Wed, 2015-10-14 at 14:56 +0200, Joerg Roedel wrote: > On Fri, Oct 09, 2015 at 10:23:02AM +0800, Yong Wu wrote: > > Yong Wu (6): > > dt-bindings: iommu: Add binding for mediatek IOMMU > > dt-bindings: mediatek: Add smi dts binding > > iommu: add ARM short descriptor page table allocator > >

Re: [PATCH v5 0/6] MT8173 IOMMU SUPPORT

2015-10-14 Thread Joerg Roedel
On Fri, Oct 09, 2015 at 10:23:02AM +0800, Yong Wu wrote: > Yong Wu (6): > dt-bindings: iommu: Add binding for mediatek IOMMU > dt-bindings: mediatek: Add smi dts binding > iommu: add ARM short descriptor page table allocator > memory: mediatek: Add SMI driver > iommu/mediatek: Add mt8173

[PATCH v5 0/6] MT8173 IOMMU SUPPORT

2015-10-08 Thread Yong Wu
This patch set adds support for m4u(Multimedia Memory Management Unit), Currently it only support the m4u with 2 levels of pagetable on mt8173. It's based on Robin Murphy's latest ARM64 DMA-v6[1]. The dsti is based on MTK clock patch[2]. Please check the hardware block diagram of Mediatek