Re: [PATCH] OMAP: iommu flush page table entries from L1 and L2cache

From: Russell King - ARM Linux
Date: Thu Apr 14 2011 - 18:31:01 EST


On Thu, Apr 14, 2011 at 04:52:48PM -0500, Fernando Guzman Lugo wrote:
> From: Ramesh Gupta <grgupta@xxxxxx>
>
> This patch is to flush the iommu page table entries from L1 and L2
> caches using dma_map_single. This also simplifies the implementation
> by removing the functions flush_iopgd_range/flush_iopte_range.

No. This usage is just wrong. If you're going to use the DMA API then
unmap it, otherwise the DMA API debugging will go awol.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/