Re: [RFC/PATCH 1/3] omap3-iommu: reorganize

2009-05-18 Thread Russell King - ARM Linux
On Mon, May 18, 2009 at 03:59:42PM +0300, Felipe Contreras wrote: > So resource_size_t is ok for 'base'? Yes. -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info

Re: [RFC/PATCH 1/3] omap3-iommu: reorganize

2009-05-18 Thread Felipe Contreras
On Mon, May 18, 2009 at 3:07 PM, Russell King - ARM Linux wrote: > On Sat, May 16, 2009 at 01:05:48PM +0300, Felipe Contreras wrote: >> +struct iommu_device { >> +     resource_size_t base; >> +     resource_size_t irq; >> +     struct iommu_platform_data pdata; >> +     struct resource res[2]; >>

Re: [RFC/PATCH 1/3] omap3-iommu: reorganize

2009-05-18 Thread Russell King - ARM Linux
On Sat, May 16, 2009 at 01:05:48PM +0300, Felipe Contreras wrote: > +struct iommu_device { > + resource_size_t base; > + resource_size_t irq; > + struct iommu_platform_data pdata; > + struct resource res[2]; > }; The data which is needed per device is: - base address - IRQ (no ne

[RFC/PATCH 1/3] omap3-iommu: reorganize

2009-05-16 Thread Felipe Contreras
No functional changes. Signed-off-by: Felipe Contreras --- arch/arm/mach-omap2/omap3-iommu.c | 72 ++-- 1 files changed, 36 insertions(+), 36 deletions(-) diff --git a/arch/arm/mach-omap2/omap3-iommu.c b/arch/arm/mach-omap2/omap3-iommu.c index 367f36a..f4232ec

[RFC/PATCH 1/3] omap3-iommu: reorganize

2009-05-16 Thread Felipe Contreras
From: Felipe Contreras No functional changes. Signed-off-by: Felipe Contreras --- arch/arm/mach-omap2/omap3-iommu.c | 72 ++-- 1 files changed, 36 insertions(+), 36 deletions(-) diff --git a/arch/arm/mach-omap2/omap3-iommu.c b/arch/arm/mach-omap2/omap3-iommu

Re: [RFC/PATCH 1/3] omap3-iommu: reorganize

2009-05-07 Thread Hiroshi DOYU
From: "Balbi Felipe (Nokia-D/Helsinki)" Subject: Re: [RFC/PATCH 1/3] omap3-iommu: reorganize Date: Thu, 7 May 2009 23:14:47 +0200 > On Thu, May 07, 2009 at 10:11:07PM +0200, ext Felipe Contreras wrote: > > -static struct resource omap3_iommu_res[] = { > >

Re: [RFC/PATCH 1/3] omap3-iommu: reorganize

2009-05-07 Thread Felipe Contreras
On Fri, May 8, 2009 at 12:14 AM, Felipe Balbi wrote: > On Thu, May 07, 2009 at 10:11:07PM +0200, ext Felipe Contreras wrote: >> -static struct resource omap3_iommu_res[] = { >> -     { /* Camera ISP MMU */ >> -             .start          = OMAP3_MMU1_BASE, >> -             .end            = OMAP3

Re: [RFC/PATCH 1/3] omap3-iommu: reorganize

2009-05-07 Thread Felipe Balbi
On Thu, May 07, 2009 at 10:11:07PM +0200, ext Felipe Contreras wrote: > -static struct resource omap3_iommu_res[] = { > - { /* Camera ISP MMU */ > - .start = OMAP3_MMU1_BASE, > - .end= OMAP3_MMU1_BASE + MMU_REG_SIZE - 1, > - .flags

[RFC/PATCH 1/3] omap3-iommu: reorganize

2009-05-07 Thread Felipe Contreras
No functional changes. Signed-off-by: Felipe Contreras --- arch/arm/mach-omap2/omap3-iommu.c | 72 ++-- 1 files changed, 36 insertions(+), 36 deletions(-) diff --git a/arch/arm/mach-omap2/omap3-iommu.c b/arch/arm/mach-omap2/omap3-iommu.c index 367f36a..f4232ec