[PATCH v2] of: iommu: make of_iommu_init() postcore_initcall_sync

Rob Herring robh+dt at kernel.org
Wed Jun 8 08:44:31 PDT 2016


On Wed, Jun 1, 2016 at 1:06 AM, Kefeng Wang <wangkefeng.wang at huawei.com> wrote:
> The of_iommu_init() is called multiple times by arch code,
> make it postcore_initcall_sync, then we can drop relevant
> calls fully.
>
> Note, the IOMMUs should have a chance to perform some basic
> initialisation before we start adding masters to them. So
> postcore_initcall_sync is good choice, it ensures of_iommu_init()
> called before of_platform_populate.

What ever happened to doing deferred probe for IOMMUs?

Rob



More information about the linux-arm-kernel mailing list