Re: [PATCH v3 21/33] iommu/mediatek: Add infra iommu support
From: AngeloGioacchino Del Regno
Date: Tue Jan 04 2022 - 10:55:13 EST
Il 23/09/21 13:58, Yong Wu ha scritto:
The infra iommu enable bits in mt8195 is in the pericfg register segment,
use regmap to update it.
If infra iommu master translation fault, It don't have the larbid/portid,
thus print out the whole register value.
Since regmap_update_bits may fail, add return value for mtk_iommu_config.
Signed-off-by: Yong Wu <yong.wu@xxxxxxxxxxxx>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@xxxxxxxxxxxxx>