From: Fernando Guzman Lugo Date: Tue, 23 Jun 2009 10:30:25 +0000 (+0300) Subject: OMAP: IOMMU: function flush_iotlb_page is not flushing correct entry X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f48ef99ca14577f3ea0a48c0e05ed7f5f6d211e9;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git 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 Signed-off-by: Hiroshi DOYU Signed-off-by: Tony Lindgren --- 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); } }