[PATCH v5 2/4] iommu/mediatek: Adjust mtk_iommu_config flow
Yong Wu (吴勇)
Yong.Wu at mediatek.com
Thu Dec 22 02:02:27 PST 2022
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 at mediatek.com>
Reviewed-by: Yong Wu <yong.wu at mediatek.com>
More information about the Linux-mediatek
mailing list