Re: [PATCH v2 6/8] iommu/arm-smmu: Don't register fwnode for legacy binding

From: Jason Gunthorpe
Date: Mon Jan 30 2023 - 12:15:11 EST


On Thu, Jan 26, 2023 at 06:26:21PM +0000, Robin Murphy wrote:
> When using the legacy binding we bypass the of_xlate mechanism, so avoid
> registering the instance fwnodes which act as keys for that. This will
> help __iommu_probe_device() to retrieve the registered ops the same way
> as for x86 etc. when no fwspec has previously been set up by of_xlate.
>
> Signed-off-by: Robin Murphy <robin.murphy@xxxxxxx>
> ---
>
> v2: No change

Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx>

Jason