iommu/mediatek: Change the domid to iova_region_id
authorYong Wu <yong.wu@mediatek.com>
Tue, 3 May 2022 07:14:22 +0000 (15:14 +0800)
committerJoerg Roedel <jroedel@suse.de>
Wed, 4 May 2022 08:39:40 +0000 (10:39 +0200)
commitd72e0ff5424e74b551c73ed2d34c73b70b921733
treeb391f1d18f87386c420c92fb03a00905ad4651af
parente24453e165bc774b53f826e86e8f4e9931ffcfba
iommu/mediatek: Change the domid to iova_region_id

Prepare for adding bankid, also no functional change.

In the previous SoC, each a iova_region is a domain; In the multi-banks
case, each a bank is a domain, then the original function name
"mtk_iommu_get_domain_id" is not proper. Use "iova_region_id" instead of
"domain_id".

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/20220503071427.2285-32-yong.wu@mediatek.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/mtk_iommu.c