* Re: [PATCH v5 2/4] iommu/mediatek: Adjust mtk_iommu_config flow
[not found] ` <20221205095001.31918-3-chengci.xu@mediatek.com>
@ 2022-12-22 10:02 ` Yong Wu (吴勇)
0 siblings, 0 replies; only message in thread
From: Yong Wu (吴勇) @ 2022-12-22 10:02 UTC (permalink / raw)
To: robin.murphy, joro, will, Chengci Xu (许承赐),
matthias.bgg
Cc: linux-kernel, linux-mediatek, robh+dt, devicetree,
Project_Global_Chrome_Upstream_Group, linux-arm-kernel,
krzysztof.kozlowski+dt, iommu
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@mediatek.com>
Reviewed-by: Yong Wu <yong.wu@mediatek.com>
^ permalink raw reply [flat|nested] only message in thread