diff options
| author | 2025-06-09 17:41:26 -0300 | |
|---|---|---|
| committer | 2025-06-27 08:55:55 +0200 | |
| commit | 35145e069e82bd89282318465e3ed521c2c3e5fb (patch) | |
| tree | a24f361e987d7784cc0532737489ed5d180ec3d0 /scripts/basic/git:/ssh:/git@git.zx2c4.com | |
| parent | qiommu/arm-smmu-v3: Remove iommu_ops pgsize_bitmap (diff) | |
| download | wireguard-linux-35145e069e82bd89282318465e3ed521c2c3e5fb.tar.xz wireguard-linux-35145e069e82bd89282318465e3ed521c2c3e5fb.zip | |
iommu/arm-smmu: Remove iommu_ops pgsize_bitmap
The driver never reads this value, arm_smmu_init_domain_context() always
sets domain.pgsize_bitmap to smmu->pgsize_bitmap, the per-instance value.
Remove the ops version entirely, the related dead code and make
arm_smmu_ops const.
Since this driver does not yet finalize the domain under
arm_smmu_domain_alloc_paging() add a page size initialization to alloc so
the page size is still setup prior to attach.
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Acked-by: Will Deacon <will@kernel.org>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Tested-by: Nicolin Chen <nicolinc@nvidia.com>
Link: https://lore.kernel.org/r/2-v2-68a2e1ba507c+1fb-iommu_rm_ops_pgsize_jgg@nvidia.com
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'scripts/basic/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
