diff options
author | 2022-10-18 10:42:57 +0800 | |
---|---|---|
committer | 2022-12-05 11:46:03 +0100 | |
commit | 6cde583d5352818a51985b32a960cdde85ab3821 (patch) | |
tree | 0b04f42394d3032e5d5ccc8f4e33656f575acd31 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | iommu/mediatek: Validate number of phandles associated with "mediatek,larbs" (diff) | |
download | wireguard-linux-6cde583d5352818a51985b32a960cdde85ab3821.tar.xz wireguard-linux-6cde583d5352818a51985b32a960cdde85ab3821.zip |
iommu/mediatek: Improve safety for mediatek,smi property in larb nodes
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@chromium.org>
Signed-off-by: Yong Wu <yong.wu@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Link: https://lore.kernel.org/r/20221018024258.19073-6-yong.wu@mediatek.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions