iommu/arm-smmu-v3: Add ssid to struct arm_smmu_master_domain
Prepare to allow a S1 domain to be attached to a PASID as well. Keep track of the SSID the domain is using on each master in the arm_smmu_master_domain. Tested-by:Nicolin Chen <nicolinc@nvidia.com> Tested-by:
Shameer Kolothum <shameerali.kolothum.thodi@huawei.com> Reviewed-by:
Michael Shavit <mshavit@google.com> Reviewed-by:
Nicolin Chen <nicolinc@nvidia.com> Reviewed-by:
Jerry Snitselaar <jsnitsel@redhat.com> Signed-off-by:
Jason Gunthorpe <jgg@nvidia.com> Link: https://lore.kernel.org/r/5-v9-5cd718286059+79186-smmuv3_newapi_p2b_jgg@nvidia.com Signed-off-by:
Will Deacon <will@kernel.org>
Showing
- drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3-sva.c 7 additions, 8 deletionsdrivers/iommu/arm/arm-smmu-v3/arm-smmu-v3-sva.c
- drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c 33 additions, 9 deletionsdrivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c
- drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.h 3 additions, 2 deletionsdrivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.h
Please register or sign in to comment