[PATCH v2 2/8] iommu/arm-smmu-v3: Move pgsize out of arm_smmu_inv

Daniel Mentz danielmentz at google.com
Sat Jul 11 10:38:15 PDT 2026


On Tue, Jul 7, 2026 at 11:08 AM Jason Gunthorpe <jgg at nvidia.com> wrote:
>
> On Tue, Jul 07, 2026 at 11:24:38AM +0000, Mostafa Saleh wrote:
>
> > The smmu_domain is only used for the tgsz_lg2, can’t we add that
> > directly instead? Decoupling the invalidation form the domain would
> > make it easier for KVM to re-use the code.
>
> Sure, done

I downloaded a newer version from your jgunthorpe repository, and
found that arm_smmu_tlbi and arm_smmu_domain are using the data types
unsigned int and u8 for tgsz_lg2, respectively. Can we align on a
single data type?



More information about the linux-arm-kernel mailing list