[PATCH v2 1/7] qiommu/arm-smmu-v3: Remove iommu_ops pgsize_bitmap

Jason Gunthorpe jgg at nvidia.com
Mon Jun 9 16:11:02 PDT 2025


On Mon, Jun 09, 2025 at 03:15:47PM -0700, Nicolin Chen wrote:
> On Mon, Jun 09, 2025 at 05:41:25PM -0300, Jason Gunthorpe wrote:
> > The driver never reads this value, arm_smmu_domain_finalise() always sets
> > domain.pgsize_bitmap to pgtbl_cfg, which comes from the per-smmu
> > calculated value.
> > 
> > Remove the ops version entirely, the related dead code and make
> > arm_smmu_ops const.
> > 
> > Reviewed-by: Kevin Tian <kevin.tian at intel.com>
> > Acked-by: Will Deacon <will at kernel.org>
> > Signed-off-by: Jason Gunthorpe <jgg at nvidia.com>
> 
> Reviewed-by: Nicolin Chen <nicolinc at nvidia.com>
> 
> Is "qiommu" a typo in the subject?

Yeah

Thanks,
Jason



More information about the linux-riscv mailing list