[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHQjnOOOdZmBVD1vRWC6x1aqtj97eGCO5Be7KRxB+Yv659sNwA@mail.gmail.com>
Date: Tue, 27 Sep 2011 20:20:03 +0900
From: KyongHo Cho <pullip.cho@...sung.com>
To: Ohad Ben-Cohen <ohad@...ery.com>
Cc: "Roedel, Joerg" <Joerg.Roedel@....com>,
"iommu@...ts.linux-foundation.org" <iommu@...ts.linux-foundation.org>,
Greg Kroah-Hartman <gregkh@...e.de>,
Alex Williamson <alex.williamson@...hat.com>,
David Woodhouse <dwmw2@...radead.org>,
David Brown <davidb@...eaurora.org>,
"joro@...tes.org" <joro@...tes.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 08/10] iommu/omap: Use bus_set_iommu instead of register_iommu
On Tue, Sep 27, 2011 at 8:10 PM, Ohad Ben-Cohen <ohad@...ery.com> wrote:
> On Tue, Sep 27, 2011 at 2:00 PM, Roedel, Joerg <Joerg.Roedel@....com> wrote:
>> The question is, of course, if the IOMMU on the platform device can
>> identify single devices on the bus that originates from it?
>
> We can probably query the ancestors of those devices until we find one
> with IOMMU properties.
We make a relationship between a platform device and
its dedicated IOMMU (Exynos System MMU) while machine initialization.
The information about the relationship is stored in the platdata of
IOMMU device descriptor
and it is also a platform device.
Exynos platform is in similar situation with OMAP's,
whereas implementation is different.
--
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