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

2016-04-27 Thread Marek Szyprowski
Hello, On 2016-04-23 11:33, Kefeng Wang 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.

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

2016-04-27 Thread Marek Szyprowski
Hello, On 2016-04-23 11:33, Kefeng Wang 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.

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

2016-04-23 Thread Rich Felker
On Sat, Apr 23, 2016 at 05:33:07PM +0800, Kefeng Wang 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

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

2016-04-23 Thread Rich Felker
On Sat, Apr 23, 2016 at 05:33:07PM +0800, Kefeng Wang 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

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

2016-04-23 Thread Kefeng Wang
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

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

2016-04-23 Thread Kefeng Wang
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