]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iommu: Manage driver probe deferral better
authorRobin Murphy <robin.murphy@arm.com>
Thu, 5 Dec 2024 16:33:58 +0000 (16:33 +0000)
committerWill Deacon <will@kernel.org>
Mon, 9 Dec 2024 22:46:54 +0000 (22:46 +0000)
commit46b3df8eb9bd035620bc48bd7a1f028490626621
treedffe5547eab5220767a87570deeac221c2fa6264
parentfcbd621567420b3a2f21f49bbc056de8b273c625
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>
drivers/iommu/iommu.c
drivers/iommu/of_iommu.c