2010-06-30 16:01:06

by Christoph Egger

[permalink] [raw]
Subject: [PATCH 22/33] Removing dead MPU_{BRIDGE,TESLA}_IOMMU

MPU_{BRIDGE,TESLA}_IOMMU doesn't exist in Kconfig, therefore removing
all references for it from the source code.

Signed-off-by: Christoph Egger <[email protected]>
---
arch/arm/mach-omap2/omap-iommu.c | 22 ----------------------
1 files changed, 0 insertions(+), 22 deletions(-)

diff --git a/arch/arm/mach-omap2/omap-iommu.c b/arch/arm/mach-omap2/omap-iommu.c
index eb9bee7..3aa3fe9 100644
--- a/arch/arm/mach-omap2/omap-iommu.c
+++ b/arch/arm/mach-omap2/omap-iommu.c
@@ -35,17 +35,6 @@ static struct iommu_device omap3_devices[] = {
.clk_name = "cam_ick",
},
},
-#if defined(CONFIG_MPU_BRIDGE_IOMMU)
- {
- .base = 0x5d000000,
- .irq = 28,
- .pdata = {
- .name = "iva2",
- .nr_tlb_entries = 32,
- .clk_name = "iva2_ck",
- },
- },
-#endif
};
#define NR_OMAP3_IOMMU_DEVICES ARRAY_SIZE(omap3_devices)
static struct platform_device *omap3_iommu_pdev[NR_OMAP3_IOMMU_DEVICES];
@@ -66,17 +55,6 @@ static struct iommu_device omap4_devices[] = {
.clk_name = "ducati_ick",
},
},
-#if defined(CONFIG_MPU_TESLA_IOMMU)
- {
- .base = OMAP4_MMU2_BASE,
- .irq = INT_44XX_DSP_MMU,
- .pdata = {
- .name = "tesla",
- .nr_tlb_entries = 32,
- .clk_name = "tesla_ick",
- },
- },
-#endif
};
#define NR_OMAP4_IOMMU_DEVICES ARRAY_SIZE(omap4_devices)
static struct platform_device *omap4_iommu_pdev[NR_OMAP4_IOMMU_DEVICES];
--
1.7.0.4


2010-06-30 18:24:18

by Hiroshi DOYU

[permalink] [raw]
Subject: Re: [PATCH 22/33] Removing dead MPU_{BRIDGE,TESLA}_IOMMU

From: ext Christoph Egger <[email protected]>
Subject: [PATCH 22/33] Removing dead MPU_{BRIDGE,TESLA}_IOMMU
Date: Wed, 30 Jun 2010 18:01:01 +0200

> MPU_{BRIDGE,TESLA}_IOMMU doesn't exist in Kconfig, therefore removing
> all references for it from the source code.

Coming soon, I guess. Hari?

> Signed-off-by: Christoph Egger <[email protected]>
> ---
> arch/arm/mach-omap2/omap-iommu.c | 22 ----------------------
> 1 files changed, 0 insertions(+), 22 deletions(-)
>
> diff --git a/arch/arm/mach-omap2/omap-iommu.c b/arch/arm/mach-omap2/omap-iommu.c
> index eb9bee7..3aa3fe9 100644
> --- a/arch/arm/mach-omap2/omap-iommu.c
> +++ b/arch/arm/mach-omap2/omap-iommu.c
> @@ -35,17 +35,6 @@ static struct iommu_device omap3_devices[] = {
> .clk_name = "cam_ick",
> },
> },
> -#if defined(CONFIG_MPU_BRIDGE_IOMMU)
> - {
> - .base = 0x5d000000,
> - .irq = 28,
> - .pdata = {
> - .name = "iva2",
> - .nr_tlb_entries = 32,
> - .clk_name = "iva2_ck",
> - },
> - },
> -#endif
> };
> #define NR_OMAP3_IOMMU_DEVICES ARRAY_SIZE(omap3_devices)
> static struct platform_device *omap3_iommu_pdev[NR_OMAP3_IOMMU_DEVICES];
> @@ -66,17 +55,6 @@ static struct iommu_device omap4_devices[] = {
> .clk_name = "ducati_ick",
> },
> },
> -#if defined(CONFIG_MPU_TESLA_IOMMU)
> - {
> - .base = OMAP4_MMU2_BASE,
> - .irq = INT_44XX_DSP_MMU,
> - .pdata = {
> - .name = "tesla",
> - .nr_tlb_entries = 32,
> - .clk_name = "tesla_ick",
> - },
> - },
> -#endif
> };
> #define NR_OMAP4_IOMMU_DEVICES ARRAY_SIZE(omap4_devices)
> static struct platform_device *omap4_iommu_pdev[NR_OMAP4_IOMMU_DEVICES];
> --
> 1.7.0.4
>

2010-06-30 18:44:36

by Kanigeri, Hari

[permalink] [raw]
Subject: RE: [PATCH 22/33] Removing dead MPU_{BRIDGE,TESLA}_IOMMU


> -----Original Message-----
> From: Hiroshi DOYU [mailto:[email protected]]
> Sent: Wednesday, June 30, 2010 1:24 PM
> To: [email protected]; Kanigeri, Hari
> Cc: [email protected]; [email protected]; [email protected];
> [email protected]; [email protected];
> [email protected]
> Subject: Re: [PATCH 22/33] Removing dead MPU_{BRIDGE,TESLA}_IOMMU
>
> From: ext Christoph Egger <[email protected]>
> Subject: [PATCH 22/33] Removing dead MPU_{BRIDGE,TESLA}_IOMMU
> Date: Wed, 30 Jun 2010 18:01:01 +0200
>
> > MPU_{BRIDGE,TESLA}_IOMMU doesn't exist in Kconfig, therefore removing
> > all references for it from the source code.
>
> Coming soon, I guess. Hari?

Coming soon for both Bridge and Tesla. As I am writing this email, Fernando is preparing the Bridge patches to migrate to iommu.

Thank you,
Best regards,
Hari