Re: [PATCH V2 2/3] Add iommu driver for hi6220 SoC platform

2015-10-23 Thread chenfeng
Hi Robin, On 2015/10/20 23:02, Robin Murphy wrote: > On 20/10/15 09:45, Chen Feng wrote: >> iommu/hisilicon: Add hi6220-SoC smmu driver > >> + >> +static int hi6220_smmu_attach_dev(struct iommu_domain *domain, >> + struct device *dev) >> +{ >> +dev->archdata.iommu = &iova_al

Re: [PATCH V2 2/3] Add iommu driver for hi6220 SoC platform

2015-10-20 Thread chenfeng
On 2015/10/20 23:02, Robin Murphy wrote: > On 20/10/15 09:45, Chen Feng wrote: >> iommu/hisilicon: Add hi6220-SoC smmu driver > > A brief description of the smmu and what capabilities it provides wouldn't go > amiss here. > ok >> Signed-off-by: Chen Feng >> Signed-off-by: Yu Dongbin >> --- >

Re: [PATCH V2 2/3] Add iommu driver for hi6220 SoC platform

2015-10-20 Thread Robin Murphy
On 20/10/15 09:45, Chen Feng wrote: iommu/hisilicon: Add hi6220-SoC smmu driver A brief description of the smmu and what capabilities it provides wouldn't go amiss here. Signed-off-by: Chen Feng Signed-off-by: Yu Dongbin --- drivers/iommu/Kconfig| 8 + drivers/iommu/Makefile

[PATCH V2 2/3] Add iommu driver for hi6220 SoC platform

2015-10-20 Thread Chen Feng
iommu/hisilicon: Add hi6220-SoC smmu driver Signed-off-by: Chen Feng Signed-off-by: Yu Dongbin --- drivers/iommu/Kconfig| 8 + drivers/iommu/Makefile | 1 + drivers/iommu/hi6220_iommu.c | 482 +++ 3 files changed, 491 insertions(+) crea