Skip to content

Commit

Permalink
OMAP: IOMMU: function flush_iotlb_page is not flushing correct entry
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Fernando Guzman Lugo authored and Tony Lindgren committed Jun 23, 2009
1 parent c8e6488 commit f48ef99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/plat-omap/iommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down

0 comments on commit f48ef99

Please sign in to comment.