Re: [PATCH v6 1/4] iommu/shmobile: Add iommu driver for Renesas IPMMU modules

2013-02-05 Thread Hideki EIRAKU
Joerg Roedel, From: Joerg Roedel Subject: Re: [PATCH v6 1/4] iommu/shmobile: Add iommu driver for Renesas IPMMU modules Date: Fri, 1 Feb 2013 14:54:57 +0100 > On Mon, Jan 21, 2013 at 07:54:26PM +0900, Hideki EIRAKU wrote: >> This is the Renesas IPMMU driver and IOMMU API imple

[PATCH v6 3/4] ARM: mach-shmobile: sh73a0: Add IPMMU device

2013-01-21 Thread Hideki EIRAKU
IPMMU module's MMU function is enabled. Signed-off-by: Hideki EIRAKU --- arch/arm/mach-shmobile/setup-sh73a0.c | 31 +++ 1 file changed, 31 insertions(+) diff --git a/arch/arm/mach-shmobile/setup-sh73a0.c b/arch/arm/mach-shmobile/setup-sh73a0.c index db

[PATCH v6 4/4] ARM: mach-shmobile: r8a7740: Add IPMMU device

2013-01-21 Thread Hideki EIRAKU
IPMMU module's MMU function is enabled. Signed-off-by: Hideki EIRAKU --- arch/arm/mach-shmobile/setup-r8a7740.c | 33 + 1 file changed, 33 insertions(+) diff --git a/arch/arm/mach-shmobile/setup-r8a7740.c b/arch/arm/mach-shmobile/setup-r8a7740.c index 09

[PATCH v6 1/4] iommu/shmobile: Add iommu driver for Renesas IPMMU modules

2013-01-21 Thread Hideki EIRAKU
. - the MMU function uses the IOMMU API while the PMB function does not. - the two functions may be used independently. Signed-off-by: Hideki EIRAKU --- drivers/iommu/Kconfig | 74 ++ drivers/iommu/Makefile | 2 + drivers/iommu/shmobile-iommu.c | 395

[PATCH v6 2/4] ARM: mach-shmobile: sh7372: Add IPMMU device

2013-01-21 Thread Hideki EIRAKU
IPMMU module's MMU function is enabled. Signed-off-by: Hideki EIRAKU --- arch/arm/mach-shmobile/setup-sh7372.c | 39 +++ 1 file changed, 39 insertions(+) diff --git a/arch/arm/mach-shmobile/setup-sh7372.c b/arch/arm/mach-shmobile/setup-sh7372.c index c9

[PATCH v6 0/4] Renesas IPMMU driver for sh7372, sh73a0 and r8a7740

2013-01-21 Thread Hideki EIRAKU
MiB page is mapped or unmapped. - Add VEU devices as IP blocks on the ICB. v2: - Rebased on v3.6-rc1. - Make variable names clear. - Page table size can now be selected by config. Hideki EIRAKU (4): iommu/shmobile: Add iommu driver for Renesas IPMMU modules ARM: mach-shmobile: sh7372: Add IPMM

[PATCH v5 4/4] ARM: mach-shmobile: r8a7740: Add IPMMU device

2013-01-03 Thread Hideki EIRAKU
IPMMU module's MMU function is enabled. Signed-off-by: Hideki EIRAKU --- arch/arm/mach-shmobile/setup-r8a7740.c | 33 + 1 file changed, 33 insertions(+) diff --git a/arch/arm/mach-shmobile/setup-r8a7740.c b/arch/arm/mach-shmobile/setup-r8a7740.c index 09

[PATCH v5 3/4] ARM: mach-shmobile: sh73a0: Add IPMMU device

2013-01-03 Thread Hideki EIRAKU
IPMMU module's MMU function is enabled. Signed-off-by: Hideki EIRAKU --- arch/arm/mach-shmobile/setup-sh73a0.c | 31 +++ 1 file changed, 31 insertions(+) diff --git a/arch/arm/mach-shmobile/setup-sh73a0.c b/arch/arm/mach-shmobile/setup-sh73a0.c index db

[PATCH v5 2/4] ARM: mach-shmobile: sh7372: Add IPMMU device

2013-01-03 Thread Hideki EIRAKU
IPMMU module's MMU function is enabled. Signed-off-by: Hideki EIRAKU --- arch/arm/mach-shmobile/setup-sh7372.c | 39 +++ 1 file changed, 39 insertions(+) diff --git a/arch/arm/mach-shmobile/setup-sh7372.c b/arch/arm/mach-shmobile/setup-sh7372.c index c9

[PATCH v5 1/4] iommu/shmobile: Add iommu driver for Renesas IPMMU modules

2013-01-03 Thread Hideki EIRAKU
. - the MMU function uses the IOMMU API while the PMB function does not. - the two functions may be used independently. Signed-off-by: Hideki EIRAKU --- drivers/iommu/Kconfig | 74 +++ drivers/iommu/Makefile | 2 + drivers/iommu/shmobile-iommu.c | 341

[PATCH v5 0/4] Renesas IPMMU driver for sh7372, sh73a0 and r8a7740

2013-01-03 Thread Hideki EIRAKU
ion for writing to a register of IPMMU. - Add a lock to accessing the tlb_enabled member. - Make unmap work correctly with size larger than map size. - Free L2 page table when 1MiB page is mapped or unmapped. - Add VEU devices as IP blocks on the ICB. v2: - Rebased on v3.6-rc1. - Make variable names c