Comments (4)
Hi Vu Tang,
I am not sure if this is a bug or if poll is intended for some other use case. We ran into the same problem and I do not really understand the purpose of poll() as it is. However, there is an easy solution. You can use the read() function to get what you want. The read() function will (in the kernel driver) wait for an interrupt or until somebody wakes it. In case of an interrupt, it will then clear the interrupt and return to the user. It will also return a buffer with the index of the user_irq which was received.
The poll function is similar, but it seems like it does not clear the interrupt. At least that is how I remember it.
Best regards
from dma_ip_drivers.
Hi Vu Tang,
I am not sure if this is a bug or if poll is intended for some other use case. We ran into the same problem and I do not really understand the purpose of poll() as it is. However, there is an easy solution. You can use the read() function to get what you want. The read() function will (in the kernel driver) wait for an interrupt or until somebody wakes it. In case of an interrupt, it will then clear the interrupt and return to the user. It will also return a buffer with the index of the user_irq which was received.
The poll function is similar, but it seems like it does not clear the interrupt. At least that is how I remember it.
Best regards
Hi @amue84,
I have already updated my commented. We have already fixed this issue.
from dma_ip_drivers.
Hello,
My name is Mark Harfouche. I am not affiliated with Xilinx in any way. Over the
years of using QDMA, I've been wanted better community organization.
I've created a fork of dma_ip_drivers which I intend to maintain and work with the
community at large to improve.
The fork can be found https://github.com/hmaarrfk/dma_ip_drivers
For now, I am stating the main goals of the repository in
hmaarrfk#2
If you are interested in working together, feel free to open an issue or PR to
my fork.
Best,
Mark
from dma_ip_drivers.
Hello,
My name is Mark Harfouche. I am not affiliated with Xilinx in any way. Over the years of using QDMA, I've been wanted better community organization.
I've created a fork of dma_ip_drivers which I intend to maintain and work with the community at large to improve.
The fork can be found https://github.com/hmaarrfk/dma_ip_drivers
For now, I am stating the main goals of the repository in hmaarrfk#2
If you are interested in working together, feel free to open an issue or PR to my fork.
Best,
Mark
Hi Mark,
What did you do with QDMA? Can you share?
Regards
Vu Tang
from dma_ip_drivers.
Related Issues (20)
- xdma driver install error HOT 1
- And here is complete guide for repaire the issue: HOT 2
- what is the unit of xdma BW in xdma run test
- assignment of read-only member ‘vm_flags’ HOT 4
- ‘struct genl_ops’ has no member named ‘policy’ HOT 1
- The xdma linux kernel driver does not build against Ubuntu kernel 6.5.x (Ubuntu 22.04.1_LTS). Any idea? HOT 3
- dma-perf can only get half of the bandwidth of a x8 PCIe Gen 5 card. Any suggestions?
- "DESC_COMPL" and "DESC_STOPPED" HOT 1
- Up to date drivers for Linux 6.8.9
- Is there a way for xdma driver to serve risc-v PC
- xdma: read write fpga user reg abnormal HOT 1
- Ubuntu 24.04 -Werror=incompatible-pointer-types HOT 1
- Warning when install xdma drivers:modules_install: missing 'System.map' file. Skipping depmod.
- kernel headers after linux 6.3
- can XDMA used with DPDK?
- XDMA driver for ubuntu24.04 HOT 2
- Building failed HOT 16
- 7022 (rev ff)
- XMDA: Low perfomance numbers on Gen3x16 HOT 8
- Driver assumes SBI is out of reset
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dma_ip_drivers.