[PATCH 1/2] arm: msm: Add System MMU support.
FUJITA Tomonori
fujita.tomonori at lab.ntt.co.jp
Mon Aug 2 04:30:26 EDT 2010
On Mon, 02 Aug 2010 18:03:02 +1000
Benjamin Herrenschmidt <benh at kernel.crashing.org> wrote:
> On Mon, 2010-08-02 at 09:48 +0200, Roedel, Joerg wrote:
> > > Hrm, indeed I just noticed that. Pretty gross... it should definitly
> > be
> > > renamed, is will caused endless confusion with unrelated iommu.h and
> > > iommu_* interfaces which represent something different.
> >
> > The first direction to go should be trying to unify all the different
> > iommu* interfaces into the iommu-api. The generic api will definitly
> > need to be extended for that, but since it is an in-kernel interface
> > thats no problem.
>
> Well, I suppose I'm the de-facto candidate to take care of the powerpc
> side then :-)
We already agreed that what the iommu-api looks like?
ARM's iommu code (arch/plat-omap/include/plat/iommu.h) is a library to
simplify the IOMMU implementations. It could be useful for all the
iommu implementations.
The current iommu-api (include/linux/iommu.h) provides the common
interface for specific purposes (for KVM).
I think that the current iommu-api can be a part of the former.
I also think that the IOMMU part of this new msm should be integrated
into the former.
Another question is how the above can work with the DMA-API.
More information about the linux-arm-kernel
mailing list