Re: [PATCH 08/10] iommu/omap: Use bus_set_iommu instead of register_iommu

From: KyongHo Cho
Date: Tue Sep 27 2011 - 07:20:13 EST


On Tue, Sep 27, 2011 at 8:10 PM, Ohad Ben-Cohen <ohad@xxxxxxxxxx> wrote:
> On Tue, Sep 27, 2011 at 2:00 PM, Roedel, Joerg <Joerg.Roedel@xxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/