All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paulo Ricardo Carvalho <pricardofc@gmail.com>
To: Linux-pci@vger.kernel.org
Subject: Two read DMAs simultaneous using same interrupt give completion timeout reported by AER
Date: Sun, 2 Apr 2017 00:45:07 +0100	[thread overview]
Message-ID: <CAH9N0t8FDYvbceRCnNahBiP8-=C+YappPzRd8UU6GY=zRVZfMw@mail.gmail.com> (raw)
In-Reply-To: <CAH9N0t8PGNd74HJxzQLCfo0nu-ko5WVJdKi3u0JMS4Zbgb3RQg@mail.gmail.com>

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

           reply	other threads:[~2017-04-01 23:45 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <CAH9N0t8PGNd74HJxzQLCfo0nu-ko5WVJdKi3u0JMS4Zbgb3RQg@mail.gmail.com>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAH9N0t8FDYvbceRCnNahBiP8-=C+YappPzRd8UU6GY=zRVZfMw@mail.gmail.com' \
    --to=pricardofc@gmail.com \
    --cc=Linux-pci@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.