[PATCH v3 21/33] iommu/mediatek: Add infra iommu support
AngeloGioacchino Del Regno
angelogioacchino.delregno at collabora.com
Tue Jan 4 07:54:51 PST 2022
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 at mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>
More information about the Linux-mediatek
mailing list