[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <201104181525.43481.arnd@arndb.de>
Date: Mon, 18 Apr 2011 15:25:41 +0200
From: Arnd Bergmann <arnd@...db.de>
To: Hiroshi DOYU <Hiroshi.DOYU@...ia.com>
Cc: tony@...mide.com, linux@....linux.org.uk, fernando.lugo@...com,
linux-omap@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org, grgupta@...com, h-kanigeri2@...com
Subject: Re: [PATCH] OMAP: iommu flush page table entries from L1 and L2 cache
On Monday 18 April 2011, Hiroshi DOYU wrote:
> From: ext Tony Lindgren <tony@...mide.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists