[PATCH v2 0/2] iommu: Allow passing custom allocators to pgtable drivers

Jason Gunthorpe jgg at ziepe.ca
Thu Nov 23 08:59:22 PST 2023


On Thu, Nov 23, 2023 at 04:49:21PM +0000, Robin Murphy wrote:

> Oh, so essentially your plan is to replace io-pgtable-arm with something
> else entirely. That's fair enough; happy to review that when I see it, but
> as I pointed out, realistically this change hardly makes that any worse than
> what's *already* present in io-pgtable-arm that you're going to have to deal
> with anyway.
> 
> I would instinctively assume that an "enterprise" optimised version would
> want to be a clean-slate fork itself since I can't imagine it wants to be
> burdened with having to handle non-coherent pagetables, Armv7 LPAE format,
> or any of the quirks for embedded and mobile IOMMUs. I have no issue with
> moving SMMUv3 to a shiny new pagetable implementation in future, but that is
> quite clearly not at all incompatible with leaving the existing
> implementation in place for all the *other* decidedly non-enterprise
> io-pgtable-arm users, both IOMMU and GPU, not to mention GPU-via-IOMMU in
> the case of Adreno.

Oh, okay! Great, then we are all in agreement!

I was not thinking about a fork, per-say, but yes I can see how that
is would be a fine approach to take for everyone concerned.

Thanks,
Jason



More information about the linux-arm-kernel mailing list