uacce: Break the limit of 2^(MAX_ORDER) page size DMA memory.
driver inclusion category: bugfix bugzilla: NA CVE: NA In this patch, we try to reserve more DMA memory for usre space application.At first, we bring SS(share static region) slice, which includes a continuous physical address memory. And, a SS region of a Warpdrive queue can have multiple slices. Before mapping to user space VMA, the slices will be sorted in a physical increasing order and merged those whose physical addresses are continuous. After reserving the memory, several IOCAL system call will be done to get the slices' physical address information for user space. Signed-off-by: Nyumeng <yumeng18@huawei.com> Reviewed-by: Nxuzaibo <xuzaibo@huawei.com> Signed-off-by: Nlingmingqiang <lingmingqiang@huawei.com> Reviewed-by: NZhou Wang <wangzhou1@hisilicon.com> Reviewed-by: NYang Yingliang <yangyingliang@huawei.com> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Showing
此差异已折叠。
想要评论请 注册 或 登录