]> asedeno.scripts.mit.edu Git - linux.git/commit
iommu/msm: Claim bus ops on probe
authorRobin Murphy <robin.murphy@arm.com>
Tue, 9 Jan 2018 16:17:25 +0000 (16:17 +0000)
committerJoerg Roedel <jroedel@suse.de>
Wed, 17 Jan 2018 14:25:49 +0000 (15:25 +0100)
commit892d7aaddb24b0d3eaf05534ed29a264d3b52646
tree1ce473d014170ed9b326788cc12d7f0887abe6e8
parent9ae9df035c274c89b7fe3dbc74cbe2fa63386668
iommu/msm: Claim bus ops on probe

Since the MSM IOMMU driver now probes via DT exclusively rather than
platform data, dependent masters should be deferred until the IOMMU
itself is ready. Thus we can do away with the early initialisation
hook to unconditionally claim the bus ops, and instead do that only
once an IOMMU is actually probed. Furthermore, this should also make
the driver safe for multiplatform kernels on non-MSM SoCs.

Reviewed-by: Sricharan R <sricharan@codeaurora.org>
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/msm_iommu.c