aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/iommu2.c
diff options
context:
space:
mode:
authorKanigeri, Hari <h-kanigeri2@ti.com>2010-04-22 19:26:10 -0400
committerHiroshi DOYU <Hiroshi.DOYU@nokia.com>2010-05-14 03:23:30 -0400
commit77bc5abb70ad8d99a38fc8dd56393eaa8882881c (patch)
tree2d6a8760ae6231e16c7959d576c657440bc3de05 /arch/arm/mach-omap2/iommu2.c
parentf779f9235f5fcaa887747ee13195efd81d09acce (diff)
omap iommu: missing check for TLB valid entry
Added the missing TLB valid entry setting for cam register Signed-off-by: Hari Kanigeri <h-kanigeri2@ti.com> Signed-off-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
Diffstat (limited to 'arch/arm/mach-omap2/iommu2.c')
-rw-r--r--arch/arm/mach-omap2/iommu2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/iommu2.c b/arch/arm/mach-omap2/iommu2.c
index 4f63dc6859a4..d29ebff6fde3 100644
--- a/arch/arm/mach-omap2/iommu2.c
+++ b/arch/arm/mach-omap2/iommu2.c
@@ -184,7 +184,7 @@ static struct cr_regs *omap2_alloc_cr(struct iommu *obj, struct iotlb_entry *e)
184 if (!cr) 184 if (!cr)
185 return ERR_PTR(-ENOMEM); 185 return ERR_PTR(-ENOMEM);
186 186
187 cr->cam = (e->da & MMU_CAM_VATAG_MASK) | e->prsvd | e->pgsz; 187 cr->cam = (e->da & MMU_CAM_VATAG_MASK) | e->prsvd | e->pgsz | e->valid;
188 cr->ram = e->pa | e->endian | e->elsz | e->mixed; 188 cr->ram = e->pa | e->endian | e->elsz | e->mixed;
189 189
190 return cr; 190 return cr;