Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

concurrent access to DMA engines #132

Open
samberhanu opened this issue Feb 27, 2021 · 2 comments
Open

concurrent access to DMA engines #132

samberhanu opened this issue Feb 27, 2021 · 2 comments

Comments

@samberhanu
Copy link

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
Copy link

Yuxin-Yu commented Jul 5, 2024

Hi bro @samberhanu ,have you solve this problem?

@wangzhenhua92429
Copy link

wangzhenhua92429 commented Jul 5, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants