Two read DMAs simultaneous using same interrupt give completion timeout reported by AER

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
Im using a pcie board to read data from 2 dma chancelas at lhe same time.
Both DMAs use lhe same interrupt service routine but have separeted
read functions.
2 device file nodes are used for each dma.
so i have 2 applications running to read from one and other dma channel.
the interrupt routine reads na fpga register to know what dma rise the
interrupt to wake up
the corresponding waitqueue.
when i have only one dma at a time everything goes ok but when both
are working at same time i get completion timeout error reported by
AER and data from both dmas loose a lot of packets.
im using both fedora and scientific Linux. kernels are 4.1 and 3.10 RT
respectively and behavior is the same.
does anybody know what am i missing?
Thx,
Ricardo



[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux