Re: [PATCH v7 03/25] iommu: Init iommu-groups support earlier, in core_initcall

2015-05-29 Thread Joerg Roedel
On Sat, May 23, 2015 at 07:23:34PM +0300, Laurent Pinchart wrote: On Tuesday 19 May 2015 15:20:23 Marek Szyprowski wrote: -arch_initcall(iommu_init); +core_initcall(iommu_init); I'll let Joerg comment on this, but this initcall ordering dance always makes me feel that something isn't

Re: [PATCH v7 03/25] iommu: Init iommu-groups support earlier, in core_initcall

2015-05-25 Thread Marek Szyprowski
Hello, On 2015-05-23 18:23, Laurent Pinchart wrote: Hi Marek, Thank you for the patch. On Tuesday 19 May 2015 15:20:23 Marek Szyprowski wrote: iommu_group_alloc might be called very early in case of iommu controllers activated from of_iommu, so ensure that this part of subsystem is ready

Re: [PATCH v7 03/25] iommu: Init iommu-groups support earlier, in core_initcall

2015-05-23 Thread Laurent Pinchart
Hi Marek, Thank you for the patch. On Tuesday 19 May 2015 15:20:23 Marek Szyprowski wrote: iommu_group_alloc might be called very early in case of iommu controllers activated from of_iommu, so ensure that this part of subsystem is ready when devices are being populated from device-tree