Hi Hiroshi, > -----Original Message----- > From: linux-omap-owner@xxxxxxxxxxxxxxx [mailto:linux-omap- > owner@xxxxxxxxxxxxxxx] On Behalf Of Hiroshi DOYU > Sent: Monday, January 11, 2010 1:47 AM > To: linux-omap@xxxxxxxxxxxxxxx > Cc: Nagalla, Hari; Hiroshi DOYU > Subject: [PATCH 2/3] omap iommu: fix incorrect address for large page 1st > entry > > From: Hiroshi DOYU <Hiroshi.DOYU@xxxxxxxxx> Description missing here aswell. Regards, Sergio > > Reported-by: Hari Nagalla <hnagalla@xxxxxx> > Signed-off-by: Hiroshi DOYU <Hiroshi.DOYU@xxxxxxxxx> > Signed-off-by: Hari Nagalla <hnagalla@xxxxxx> > --- > arch/arm/plat-omap/iommu.c | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/arm/plat-omap/iommu.c b/arch/arm/plat-omap/iommu.c > index c0ff1e3..ccf25b3 100644 > --- a/arch/arm/plat-omap/iommu.c > +++ b/arch/arm/plat-omap/iommu.c > @@ -1,7 +1,7 @@ > /* > * omap iommu: tlb and pagetable primitives > * > - * Copyright (C) 2008-2009 Nokia Corporation > + * Copyright (C) 2008-2010 Nokia Corporation > * > * Written by Hiroshi DOYU <Hiroshi.DOYU@xxxxxxxxx>, > * Paul Mundt and Toshihiro Kobayashi > @@ -646,7 +646,7 @@ static size_t iopgtable_clear_entry_core(struct iommu > *obj, u32 da) > if (*iopte & IOPTE_LARGE) { > nent *= 16; > /* rewind to the 1st entry */ > - iopte = (u32 *)((u32)iopte & IOLARGE_MASK); > + iopte = iopte_offset(iopgd, (da & IOLARGE_MASK)); > } > bytes *= nent; > memset(iopte, 0, nent * sizeof(*iopte)); > -- > 1.6.0.4 > > -- > To unsubscribe from this list: send the line "unsubscribe linux-omap" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html