summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorFernando Guzman Lugo <x0095840@ti.com>2009-06-23 12:30:25 +0200
committerTony Lindgren <tony@atomide.com>2009-06-23 12:30:25 +0200
commitf48ef99ca14577f3ea0a48c0e05ed7f5f6d211e9 (patch)
tree18a2b2c16d9860806ba14f0f578aa0364931f10f /arch/arm
parentOMAP3: RX51: Use OneNAND sync read / write (diff)
downloadlinux-f48ef99ca14577f3ea0a48c0e05ed7f5f6d211e9.tar.xz
linux-f48ef99ca14577f3ea0a48c0e05ed7f5f6d211e9.zip
OMAP: IOMMU: function flush_iotlb_page is not flushing correct entry
The function flush_iotlb_page is not loading the CAM register with the correct entry to be flushed, so it is flushing other entry Signed-off-by: Fernando Guzman Lugo <x0095840@ti.com> Signed-off-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/plat-omap/iommu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-omap/iommu.c b/arch/arm/plat-omap/iommu.c
index 4cf449fa2cb5..4a0301399013 100644
--- a/arch/arm/plat-omap/iommu.c
+++ b/arch/arm/plat-omap/iommu.c
@@ -298,7 +298,7 @@ void flush_iotlb_page(struct iommu *obj, u32 da)
if ((start <= da) && (da < start + bytes)) {
dev_dbg(obj->dev, "%s: %08x<=%08x(%x)\n",
__func__, start, da, bytes);
-
+ iotlb_load_cr(obj, &cr);
iommu_write_reg(obj, 1, MMU_FLUSH_ENTRY);
}
}