On Mon, 2022-12-05 at 17:49 +0800, Chengci.Xu wrote: > For reduce indention without functional change, prepare for MT8188. > If there are many port in a same larb, current flow will update > larb_mmu->mmu or update INFRA register for too many times. > So we save all port to portid_msk in the front of mtk_iommu_config(), s/port/ports/g > and then update only once for IOMMU configure. By this modification, > we can prevent MT8188 from sending to many SMC calls, avoiding enter > ATF for each port. > > Signed-off-by: Chengci.Xu <chengci.xu@xxxxxxxxxxxx> Reviewed-by: Yong Wu <yong.wu@xxxxxxxxxxxx>