Re: [PATCH v4 5/6] iommu/mediatek: Improve safety for mediatek,smi property in larb nodes

From: AngeloGioacchino Del Regno
Date: Tue Aug 30 2022 - 04:16:17 EST


Il 24/08/22 08:43, Yong Wu ha scritto:
No functional change. Just improve safety from dts.

All the larbs that connect to one IOMMU must connect with the same
smi-common. This patch checks all the mediatek,smi property for each
larb, If their mediatek,smi are different, it will return fails.
Also avoid there is no available smi-larb nodes.

Suggested-by: Guenter Roeck <groeck@xxxxxxxxxxxx>
Signed-off-by: Yong Wu <yong.wu@xxxxxxxxxxxx>

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@xxxxxxxxxxxxx>