public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] IOMMU: function flush_iotlb_page is not flushing correct entry
@ 2009-06-15  9:38 Hiroshi DOYU
  2009-06-17  9:47 ` [APPLIED] [PATCH 1/1] IOMMU: function flush_iotlb_page is not flushing Tony Lindgren
  2009-06-18  5:05 ` [PATCH 1/1] IOMMU: function flush_iotlb_page is not flushing correct entry Tony Lindgren
  0 siblings, 2 replies; 4+ messages in thread
From: Hiroshi DOYU @ 2009-06-15  9:38 UTC (permalink / raw)
  To: linux-omap; +Cc: Fernando Guzman Lugo, Hiroshi DOYU

From: Fernando Guzman Lugo <x0095840@ti.com>

From: Fernando Guzman Lugo <x0095840@ti.com>

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>
---
 arch/arm/plat-omap/iommu.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
 mode change 100644 => 100755 arch/arm/plat-omap/iommu.c

diff --git a/arch/arm/plat-omap/iommu.c b/arch/arm/plat-omap/iommu.c
old mode 100644
new mode 100755
index 4cf449f..4a03013
--- 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);
 		}
 	}
-- 
1.6.0.4


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-06-18  7:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-15  9:38 [PATCH 1/1] IOMMU: function flush_iotlb_page is not flushing correct entry Hiroshi DOYU
2009-06-17  9:47 ` [APPLIED] [PATCH 1/1] IOMMU: function flush_iotlb_page is not flushing Tony Lindgren
2009-06-18  5:05 ` [PATCH 1/1] IOMMU: function flush_iotlb_page is not flushing correct entry Tony Lindgren
2009-06-18  7:52   ` Hiroshi DOYU

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox