[PATCH v6 3/5] iommu: Add verisilicon IOMMU driver
Jason Gunthorpe
jgg at ziepe.ca
Fri Jul 18 06:26:22 PDT 2025
On Fri, Jul 18, 2025 at 01:56:36PM +0100, Robin Murphy wrote:
> All they really have in common is that they're 2-level formats with 32-bit
> PTEs and 10 bits per level (as is tegra-smmu too). The permission encodings
> have some overlap but are not fully equivalent. Crucially, the schemes for
> packing >32-bit PAs into PTEs are incompatibly different, so if you're
> really keen to genericise things to *that* extent, that's what Jason's
> already working on.
Right, I agree with this. The page table code is duplicated
extensively across iommu and the way to fix it is what I'm working on.
It is all the same code, same patterns, same problems, same bugs :)
I think it is best to leave this as is for now.
Jason
More information about the linux-arm-kernel
mailing list