[PATCH v6 0/9] Organize the SMMUv3 invalidation flow so iommupt can use it

Nicolin Chen nicolinc at nvidia.com
Wed Sep 16 19:43:52 PDT 2026


On Wed, Sep 16, 2026 at 09:27:41PM -0300, Jason Gunthorpe wrote:
> [ This is part of the patch pile to move SMMUv3 over to the generic page
> table, the precursor patches have been merged now:
> 1) Organize the SMMUv3 invalidation flow so iommupt can use it
> 2) Use the generic iommu page table for SMMUv3
> 
> The first patch should ideally go to -rc
> 
> The whole branch is here:
>    https://github.com/jgunthorpe/linux/commits/iommu_pt_arm64/

> v6:
>  - Rebase to v7.3-rc3
>  - Add helpers arm_smmu_pt_level_to_lg2sz(), arm_smmu_pt_lg2sz_to_level(),
>    arm_smmu_ril_calc_scale(), arm_smmu_ril_calc_num()
>  - Remove unused leaf_only
>  - Combine has_range_inv and range_inv_scale_max
>  - Clarify comment on arm_smmu_iotlb_sync()

S1/S2/SVA sanity runs okay.

Tested-by: Nicolin Chen <nicolinc at nvidia.com>



More information about the linux-arm-kernel mailing list