diff options
author | Jason Gunthorpe <jgg@nvidia.com> | 2025-06-09 17:41:26 -0300 |
---|---|---|
committer | Joerg Roedel <joerg.roedel@amd.com> | 2025-06-27 08:55:55 +0200 |
commit | 35145e069e82bd89282318465e3ed521c2c3e5fb (patch) | |
tree | a24f361e987d7784cc0532737489ed5d180ec3d0 /scripts/lib/kdoc/kdoc_parser.py | |
parent | b5dac93cb61df67750a5f0667e675877306d7ff3 (diff) |
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/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions