Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1417678

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

From Robin Murphy <robin.murphy@arm.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2] of: iommu: make of_iommu_init() postcore_initcall_sync
Date 2016-06-08 18:50 +0200
Message-ID <rHOQ2-2Bc-27@gated-at.bofh.it> (permalink)
References <rF7vP-4JC-7@gated-at.bofh.it> <rHNTY-21z-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 08/06/16 16:44, Rob Herring wrote:
> On Wed, Jun 1, 2016 at 1:06 AM, Kefeng Wang <wangkefeng.wang@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?

Sricharan has been trying to resurrect it recently[1], although the fact 
that we're starting to need more or less the same thing for certain 
interrupt controllers as well (and I'm not sure how immune ACPI IORT is 
to the problem) suggests a more general rethink might be in order. I've 
got a big TODO item hanging over me on that one...

Robin.

[1]:http://thread.gmane.org/gmane.linux.kernel.iommu/13243

>
> Rob
>

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v2] of: iommu: make of_iommu_init() postcore_initcall_sync Kefeng Wang <wangkefeng.wang@huawei.com> - 2016-06-01 08:10 +0200
  Re: [PATCH v2] of: iommu: make of_iommu_init() postcore_initcall_sync Rob Herring <robh+dt@kernel.org> - 2016-06-08 17:50 +0200
    Re: [PATCH v2] of: iommu: make of_iommu_init() postcore_initcall_sync Robin Murphy <robin.murphy@arm.com> - 2016-06-08 18:50 +0200

csiph-web