[PATCH v9 0/9] Make the SMMUv3 CD logic match the new STE design (part 2a/3)

Jason Gunthorpe jgg at ziepe.ca
Wed May 1 09:50:33 PDT 2024


On Wed, May 01, 2024 at 05:20:29PM +0100, Will Deacon wrote:
> On Tue, 30 Apr 2024 14:21:32 -0300, Jason Gunthorpe wrote:
> > This is split out from the larger part two which aimes to rework the PASID
> > related code.
> > 
> > No new functionality is introduced in theses commits, it just reorganizes
> > the CD logic to follow the same design of the new STE logic using make
> > functions and a single programming flow without leaking details to
> > callers.
> > 
> > [...]
> 
> Applied to will (for-joerg/arm-smmu/updates), thanks!
> 
> [1/9] iommu/arm-smmu-v3: Add an ops indirection to the STE code
> 	https://git.kernel.org/will/c/de31c3555412
> [2/9] iommu/arm-smmu-v3: Make CD programming use arm_smmu_write_entry()
> 	https://git.kernel.org/will/c/78a5fbe8395b
> [3/9] iommu/arm-smmu-v3: Move the CD generation for S1 domains into a function
> 	https://git.kernel.org/will/c/e9d1e4ff74b9
> [4/9] iommu/arm-smmu-v3: Consolidate clearing a CD table entry
> 	https://git.kernel.org/will/c/af8f0b83ea2b
> [5/9] iommu/arm-smmu-v3: Make arm_smmu_alloc_cd_ptr()
> 	https://git.kernel.org/will/c/b2f4c0fcf094
> [6/9] iommu/arm-smmu-v3: Allocate the CD table entry in advance
> 	https://git.kernel.org/will/c/13abe4faac43
> [7/9] iommu/arm-smmu-v3: Move the CD generation for SVA into a function
> 	https://git.kernel.org/will/c/7b87c93c8b86
> [8/9] iommu/arm-smmu-v3: Build the whole CD in arm_smmu_make_s1_cd()
> 	https://git.kernel.org/will/c/04905c17f648
> [9/9] iommu/arm-smmu-v3: Add unit tests for arm_smmu_write_entry
> 	https://git.kernel.org/will/c/56e1a4cc2588

Thanks Will, I will repost the rebased 2b part once Joerg picks this
up.

Jason



More information about the linux-arm-kernel mailing list