All of lore.kernel.org
 help / color / mirror / Atom feed
* Two read DMAs simultaneous using same interrupt give completion timeout reported by AER
       [not found] <CAH9N0t8PGNd74HJxzQLCfo0nu-ko5WVJdKi3u0JMS4Zbgb3RQg@mail.gmail.com>
@ 2017-04-01 23:45 ` Paulo Ricardo Carvalho
  0 siblings, 0 replies; only message in thread
From: Paulo Ricardo Carvalho @ 2017-04-01 23:45 UTC (permalink / raw)
  To: Linux-pci

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-04-01 23:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CAH9N0t8PGNd74HJxzQLCfo0nu-ko5WVJdKi3u0JMS4Zbgb3RQg@mail.gmail.com>
2017-04-01 23:45 ` Two read DMAs simultaneous using same interrupt give completion timeout reported by AER Paulo Ricardo Carvalho

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.