diff options
author | Robin Murphy <robin.murphy@arm.com> | 2024-12-05 19:33:58 +0300 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2024-12-10 01:46:54 +0300 |
commit | 46b3df8eb9bd035620bc48bd7a1f028490626621 (patch) | |
tree | dffe5547eab5220767a87570deeac221c2fa6264 /drivers/iommu/of_iommu.c | |
parent | fcbd621567420b3a2f21f49bbc056de8b273c625 (diff) | |
download | linux-46b3df8eb9bd035620bc48bd7a1f028490626621.tar.xz |
iommu: Manage driver probe deferral better
Since iommu_fwspec_init() absorbed the basic driver probe deferral
check to wait for an IOMMU to register, we may as well handle the probe
deferral timeout there as well. The current inconsistency of callers
results in client devices deferring forever on an arm64 ACPI system
where an SMMU has failed its own driver probe.
Acked-by: Will Deacon <will@kernel.org>
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Link: https://lore.kernel.org/r/41fa59f156ef8d196d08fa75c4901e6d4b12e6c4.1733406914.git.robin.murphy@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'drivers/iommu/of_iommu.c')
-rw-r--r-- | drivers/iommu/of_iommu.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/iommu/of_iommu.c b/drivers/iommu/of_iommu.c index e7a6a1611d19..97987cd78da9 100644 --- a/drivers/iommu/of_iommu.c +++ b/drivers/iommu/of_iommu.c @@ -29,8 +29,6 @@ static int of_iommu_xlate(struct device *dev, return -ENODEV; ret = iommu_fwspec_init(dev, of_fwnode_handle(iommu_spec->np)); - if (ret == -EPROBE_DEFER) - return driver_deferred_probe_check_state(dev); if (ret) return ret; |