summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap
diff options
context:
space:
mode:
authorFernando Guzman Lugo <x0095840@ti.com>2009-06-23 13:30:25 +0300
committerTony Lindgren <tony@atomide.com>2009-06-23 13:30:25 +0300
commitf48ef99ca14577f3ea0a48c0e05ed7f5f6d211e9 (patch)
tree18a2b2c16d9860806ba14f0f578aa0364931f10f /arch/arm/plat-omap
parentc8e6488f7b56d82453fc7d526118e9f1c2df133a (diff)
downloadblackbird-op-linux-f48ef99ca14577f3ea0a48c0e05ed7f5f6d211e9.tar.gz
blackbird-op-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/plat-omap')
-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);
}
}
OpenPOWER on IntegriCloud