Re: [PATCH RFC 15/17] iommu: Add ops->of_xlate_fwspec()

2023-11-13 Thread Jerry Snitselaar
Reviewed-by: Jerry Snitselaar

[PATCH RFC 15/17] iommu: Add ops->of_xlate_fwspec()

2023-11-03 Thread Jason Gunthorpe
The new callback takes in the fwspec instead of retrieving it from the dev->iommu. Provide iommu_fwspec_append_ids() to work directly on the fwspec. Convert SMMU, SMMUv3, and virtio to use iommu_fwspec_append_ids() and the new entry point. This avoids having to touch dev->iommu at all, and