Re: [PATCH v3 21/33] iommu/mediatek: Add infra iommu support

2022-01-04 Thread AngeloGioacchino Del Regno
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

[PATCH v3 21/33] iommu/mediatek: Add infra iommu support

2021-09-23 Thread Yong Wu
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.