]> www.infradead.org Git - users/dwmw2/linux.git/commit
OF: Simplify of_iommu_configure()
authorRobin Murphy <robin.murphy@arm.com>
Tue, 2 Jul 2024 11:40:50 +0000 (12:40 +0100)
committerWill Deacon <will@kernel.org>
Thu, 4 Jul 2024 13:36:04 +0000 (14:36 +0100)
commit5f937bc48a6aa63970648c54fb40ea8f96b633dc
treed312f1435d072f6ee5195fd3b6c4d79cdc3685bb
parent78596b5c321c9d74eeef1ad51c964563a4081f79
OF: Simplify of_iommu_configure()

We no longer have a notion of partially-initialised fwspecs existing,
and we also no longer need to use an iommu_ops pointer to return status
to of_dma_configure(). Clean up the remains of those, which lends itself
to clarifying the logic around the dma_range_map allocation as well.

Acked-by: Rob Herring (Arm) <robh@kernel.org>
Tested-by: Jean-Philippe Brucker <jean-philippe@linaro.org>
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Link: https://lore.kernel.org/r/61972f88e31a6eda8bf5852f0853951164279a3c.1719919669.git.robin.murphy@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
drivers/iommu/of_iommu.c
drivers/of/device.c