[PATCH v12 3/7] iommu/mediatek: Adjust mtk_iommu_config flow

Alexandre Mergnat amergnat at baylibre.com
Tue Jun 6 07:00:03 PDT 2023


On 02/06/2023 11:02, Yong Wu wrote:
> If there are many ports in a infra master, current flow will update
> the INFRA register many times. This patch saves all ports to portid_msk
> in the front of mtk_iommu_config(), then update only once for the IOMMU
> configure. After this, we could avoid send too many SMC calls to ATF in
> MT8188.
> 
> Prepare for MT8188, also reduce the indention without functional change.

Reviewed-by: Alexandre Mergnat <amergnat at baylibre.com>

-- 
Regards,
Alexandre




More information about the Linux-mediatek mailing list