[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100802172941C.fujita.tomonori@lab.ntt.co.jp>
Date: Mon, 2 Aug 2010 17:30:26 +0900
From: FUJITA Tomonori <fujita.tomonori@....ntt.co.jp>
To: benh@...nel.crashing.org
Cc: Joerg.Roedel@....com, arnd@...db.de, fujita.tomonori@....ntt.co.jp,
stepanm@...eaurora.org, linux-arm-kernel@...ts.infradead.org,
linux-arm-msm@...r.kernel.org, dwalker@...eaurora.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/2] arm: msm: Add System MMU support.
On Mon, 02 Aug 2010 18:03:02 +1000
Benjamin Herrenschmidt <benh@...nel.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.
--
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