[PATCH] OMAP: iommu flush page table entries from L1 and L2 cache

Arnd Bergmann arnd at arndb.de
Mon Apr 18 09:25:41 EDT 2011


On Monday 18 April 2011, Hiroshi DOYU wrote:
> From: ext Tony Lindgren <tony at atomide.com>

> > have a generic replacement for this code we should start using it.
> 
> I'm afraid that there's no general IOMMU APIs yet, or already? If
> there is, migrating to those general IOMMU API is the way, but still
> SoC dependent parts remain, anyway. I guess that more or less general
> IOMMU API is composed of common set of client APIs(like IOVMM) and the
> registration of H/W dependent functions(like omap iommu), I guess.

As I explained, we have a surplus of generic iommu APIs
already, see include/linux/dma-mapping.h and include/linux/iommu.h
 
The dma-mapping interface handles IOMMUs on all other architectures
that have them.

	Arnd



More information about the linux-arm-kernel mailing list