]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
iommu: Init iommu-groups support earlier, in core_initcall
authorMarek Szyprowski <m.szyprowski@samsung.com>
Tue, 19 May 2015 13:20:23 +0000 (15:20 +0200)
committerJoerg Roedel <jroedel@suse.de>
Fri, 29 May 2015 08:48:35 +0000 (10:48 +0200)
commitd7ef9995f1d9e394f994b9a1755cccb21ba3e421
treecd695df051042e1a9fb37179a66cf5c35cb4ba54
parentdc3814f404dfb82fc40f403725ad0548c9541d09
iommu: Init iommu-groups support earlier, in core_initcall

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 (core_initcall seems to
be okay for this case).

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Tested-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/iommu.c