[PATCH v1 1/5] iommu/arm-smmu-v3: Move cdtable to arm_smmu_master
Jason Gunthorpe
jgg at nvidia.com
Wed May 10 14:15:41 PDT 2023
On Thu, May 11, 2023 at 04:50:48AM +0800, Michael Shavit wrote:
> In the arm-smmu-v3 driver, stage 1 domains represent the entire STE.
> Iommu domains are conceptually closer to a single address space (with
> some exceptions), which are better represented by a single
> ContextDescriptor for stage 1 domains. With this change, the CD table is
> now owned by the arm_smmu_master instead of the attached domain. Each
> stage 1 domain now represents a single context.
As per my remark on the cover letter this seems a bit confusing
description, but the idea that the CD Table for kernel owned PASID
list is placed in the 'struct arm_smmu_master' does make sense to me
This patch seems very big, is there any way to break it into smaller
steps?
Jason
More information about the linux-arm-kernel
mailing list