summaryrefslogtreecommitdiff
path: root/drivers/memory/mtk-smi.c
diff options
context:
space:
mode:
authorYong Wu <yong.wu@mediatek.com>2021-01-11 14:19:10 +0300
committerWill Deacon <will@kernel.org>2021-02-01 14:31:19 +0300
commitab1d5281a62bafbd611fffdce7eab6eb9577aa0d (patch)
tree9ec5e28513b9dc91072f75056b9f6363120ec6e9 /drivers/memory/mtk-smi.c
parentc3045f39244e90c4c45a404e35aa66403ca68815 (diff)
downloadlinux-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 'drivers/memory/mtk-smi.c')
0 files changed, 0 insertions, 0 deletions