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

From: Arnd Bergmann
Date: Mon Apr 18 2011 - 09:26:00 EST


On Monday 18 April 2011, Hiroshi DOYU wrote:
> From: ext Tony Lindgren <tony@xxxxxxxxxxx>

> > 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
--
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/