提交 563372e3 编写于 作者: Z Zhou Xuemei 提交者: guzitao

sw64: iommu: allow unlimited minimum value of iova in unmanaged domain

Sunway inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I56OLG

--------------------------------

IO virtual address assignment in unmanaged domain is completely handed
over to the device owner, so there is no need to set the IOVA baseline.
Signed-off-by: NZhou Xuemei <zhouxuemei@wxiat.com>
Signed-off-by: NGu Zitao <guzitao@wxiat.com>
上级 754c34de
......@@ -1382,7 +1382,7 @@ static struct iommu_domain *sunway_iommu_domain_alloc(unsigned type)
sdomain->pt_root = (void *)get_zeroed_page(GFP_KERNEL);
sdomain->domain.geometry.aperture_start = SW64_DMA_START;
sdomain->domain.geometry.aperture_start = 0ULL;
sdomain->domain.geometry.aperture_end = (~0ULL);
sdomain->domain.geometry.force_aperture = true;
sdomain->type = IOMMU_DOMAIN_UNMANAGED;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册