diff options
author | Yong Wu <[email protected]> | 2023-04-11 17:31:35 +0800 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2023-04-13 11:59:25 +0200 |
commit | 6b1317f92874cc82719d9f38b7c298dadfc16a6b (patch) | |
tree | eb765839ad215ff28b96cfd7463e8311782ed2ae /lib/mpi/mpi-mod.c | |
parent | b2a6876d215b3e980d8ac89ccc704667ad266205 (diff) |
iommu/mediatek: mt8192: Add iova_region_larb_msk
Add iova_region_larb_msk for mt8192. We separate the 16GB iova regions
by each device's larbid/portid.
Note: larb3/6/8/10/12/15 connect nothing in this SoC.
Refer to the comment in include/dt-bindings/memory/mt8192-larb-port.h
Define a new macro MT8192_MULTI_REGION_NR_MAX to indicate
the index of mt8xxx_larb_region_msk and
"struct mtk_iommu_iova_region mt8192_multi_dom"
are the same.
Signed-off-by: Yong Wu <[email protected]>
Reviewed-by: AngeloGioacchino Del Regno <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions