[PATCH v5 0/6] MT8173 IOMMU SUPPORT

Yong Wu yong.wu at mediatek.com
Wed Oct 21 21:40:02 PDT 2015


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
> >   memory: mediatek: Add SMI driver
> >   iommu/mediatek: Add mt8173 IOMMU driver
> >   dts: mt8173: Add iommu/smi nodes for mt8173
> > 
> >  .../devicetree/bindings/iommu/mediatek,iommu.txt   |  61 ++
> >  .../memory-controllers/mediatek,smi-larb.txt       |  25 +
> >  .../bindings/memory-controllers/mediatek,smi.txt   |  24 +
> >  arch/arm64/boot/dts/mediatek/mt8173.dtsi           |  81 ++
> >  drivers/iommu/Kconfig                              |  33 +
> >  drivers/iommu/Makefile                             |   2 +
> >  drivers/iommu/io-pgtable-arm-short.c               | 827 +++++++++++++++++++++
> >  drivers/iommu/io-pgtable-arm.c                     |   3 -
> >  drivers/iommu/io-pgtable.c                         |   3 +
> >  drivers/iommu/io-pgtable.h                         |  18 +-
> >  drivers/iommu/mtk_iommu.c                          | 767 +++++++++++++++++++
> >  drivers/memory/Kconfig                             |   8 +
> >  drivers/memory/Makefile                            |   1 +
> >  drivers/memory/mtk-smi.c                           | 274 +++++++
> >  include/dt-bindings/memory/mt8173-larb-port.h      | 105 +++
> >  include/soc/mediatek/smi.h                         |  60 ++
> 
> So this contains not only IOMMU code. Are the patches dependent on each
> other or can the iommu parts be merged independently?
> 
> 	Joerg
> 
Hi Joerg,
     Sorry for reply late.
     The ARM short descriptor is independent. This one can be merged
independently.

     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?





More information about the linux-arm-kernel mailing list