public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: "Daniel Glöckner" <dg@emlix.com>
To: Martin van Es <mrvanes@gmail.com>
Cc: linux-media@vger.kernel.org
Subject: Re: dual TT C-1501 on a single PCI riser
Date: Mon, 15 Mar 2010 15:13:24 +0100	[thread overview]
Message-ID: <4B9E4084.8060906@emlix.com> (raw)
In-Reply-To: <eccab77d1003150550g2d1c03eapd45fd2daa6488fdf@mail.gmail.com>

On 03/15/2010 01:50 PM, Martin van Es wrote:
> When I look at the pci layout, pci device 05 is connected to bridge 1e.0:

> -[0000:00]-+-00.0
>            +-1e.0-[05]--+-00.0  Philips Semiconductors SAA7146
>            |            \-0c.0  Philips Semiconductors SAA7146

No, this means bridge 1e.0 connects to bus number 05.

> So I started to suspect that the motherboard had no way to know what
> PCI int's were used behind the bridge if both cards were detected to serve
> INTA (i.e. 05.0x = INTA in lspci -v) and would thus (quite stupidly?)
> route any int for this slot to INTA?

I don't get that sentence..
Every slot has INTA/B/C/D and each PCI function announces which one of these it
uses. In most cases INTA is used. The board manufacturer for bus 05 only knows
how INTx maps to APIC inputs for slot 00. He knows there are people who use
riser cards, so he adds mappings for non-existent slots by permuting those
interrupts available to slot 00.

> Last change was to cut the original slot2 connection to INTD and gone were my
> extra interrupts!

It might be INTD isn't connected to the APIC. It is rarely used on cards.

> So now I have two correctly recognised cards, both using int 20 and PCI INTA.
> Now I wonder if this will harm the performance if both cards are recording
> streams, let alone if they work, because that's the next test I still have to
> do.

It should work. On interrupt the driver will be called once for each card to
check if the card in question caused the interrupt. As long as we are not
talking about thousands of interrupts per second, this shouldn't harm performance.

  Daniel


-- 
Dipl.-Math. Daniel Glöckner, emlix GmbH, http://www.emlix.com
Fon +49 551 30664-0, Fax -11, Bahnhofsallee 1b, 37081 Göttingen, Germany
Sitz der Gesellschaft: Göttingen, Amtsgericht Göttingen HR B 3160
Geschäftsführer: Dr. Uwe Kracke, Ust-IdNr.: DE 205 198 055

emlix - your embedded linux partner

      reply	other threads:[~2010-03-15 14:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-14 12:21 dual TT C-1501 on a single PCI riser Martin van Es
2010-03-14 16:14 ` Martin van Es
2010-03-14 21:52   ` Daniel Glöckner
2010-03-15 12:50     ` Martin van Es
2010-03-15 14:13       ` Daniel Glöckner [this message]

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=4B9E4084.8060906@emlix.com \
    --to=dg@emlix.com \
    --cc=linux-media@vger.kernel.org \
    --cc=mrvanes@gmail.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox