bperez77 / xilinx_axidma

A zero-copy Linux driver and a userspace interface library for Xilinx's AXI DMA and VDMA IP blocks. These serve as bridges for communication between the processing system and FPGA programmable logic fabric, through one of the DMA ports on the Zynq processing system. Distributed under the MIT License.
MIT License
474 stars 230 forks source link

concurrent access to DMA engines #132

Open samberhanu opened 3 years ago

samberhanu commented 3 years ago

I know that there's a fork corona but I am having trouble compiling that correctly: Ex: the following is when I tried to include ./linux/uaccess.h (because it kept complaining that it couldn't find copy_to_user) if asm/uaccess.h was the one in the include In function ‘check_copy_size’, inlined from ‘copy_from_user’ at ./include/linux/uaccess.h:146:6, inlined from ‘axidma_ioctl’ at /home/berhas1/BIGDEAL/linux_bsp_demo2/zcu10x_bsp/xilinx_axidma/driver/axidma_chrdev.c:389:17: ./include/linux/thread_info.h:141:4: error: call to ‘bad_copy_to’ declared with attribute error: copy destination size is too small bad_copy_to();

The short of it: is this driver able to handle multiple dma engines concurrently. I am ok with the Tx/Rx pairs being dictated on only one process but would really love to have the DMAs calls running concurrently

Yuxin-Yu commented 4 months ago

Hi bro @samberhanu ,have you solve this problem?

wangzhenhua92429 commented 4 months ago

你发给我的邮件已收到!                                ——王振华