diff options
author | Yong Wu <yong.wu@mediatek.com> | 2021-01-11 14:19:10 +0300 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2021-02-01 14:31:19 +0300 |
commit | ab1d5281a62bafbd611fffdce7eab6eb9577aa0d (patch) | |
tree | 9ec5e28513b9dc91072f75056b9f6363120ec6e9 /include/soc/mediatek/smi.h | |
parent | c3045f39244e90c4c45a404e35aa66403ca68815 (diff) | |
download | linux-ab1d5281a62bafbd611fffdce7eab6eb9577aa0d.tar.xz |
iommu/mediatek: Add iova reserved function
For multiple iommu_domains, we need to reserve some iova regions. Take a
example, If the default iova region is 0 ~ 4G, but the 0x4000_0000 ~
0x43ff_ffff is only for the special CCU0 domain. Thus we should exclude
this region for the default iova region.
Signed-off-by: Anan sun <anan.sun@mediatek.com>
Signed-off-by: Chao Hao <chao.hao@mediatek.com>
Signed-off-by: Yong Wu <yong.wu@mediatek.com>
Reviewed-by: Tomasz Figa <tfiga@chromium.org>
Link: https://lore.kernel.org/r/20210111111914.22211-30-yong.wu@mediatek.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'include/soc/mediatek/smi.h')
0 files changed, 0 insertions, 0 deletions