Re: [PATCH] iommu/of: Only do IOMMU lookup for available ones

From: JeffyChen
Date: Thu Jan 18 2018 - 09:58:59 EST


Hi Will,

Thanks for your reply.

On 01/18/2018 10:41 PM, Will Deacon wrote:
>
>Makes sense to me, but I'd like to have an OK from Robin or Will (added
>to Cc) before applying this.
I don't think this patch makes a lot of sense in isolation: the SMMU drivers
themselves will likely still probe, and it's unclear what we should about
DMA when an IOMMU is not deemed to be available. See:

https://patchwork.kernel.org/patch/9681211/

Jeffy -- are you solving a real issue here, or is this just an attempt at
some cleanup?

hmmm, it's just a cleanup, but it seems like we already removed this of_iommu_init_fn in:
b0c560f7d8a4 iommu: Clean up of_iommu_init_fn

so this patch can be disregarded too :)

Will