mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Grant Grundler <grundler@parisc-linux.org>
To: Manu Abraham <abraham.manu@gmail.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	linux-pci@vger.kernel.org,
	Grant Grundler <grundler@parisc-linux.org>
Subject: Re: PCI express switch handling ..
Date: Sun, 14 Mar 2010 23:32:09 -0600	[thread overview]
Message-ID: <20100315053209.GC28926@lackof.org> (raw)
In-Reply-To: <1a297b361003141218g783d1880p98b15749d01bd813@mail.gmail.com>

On Sun, Mar 14, 2010 at 11:18:05PM +0400, Manu Abraham wrote:
> Hi All,
> 
> I have one of these PCIe switches on one of the PCIe cards that I have:
> 
> http://www.plxtech.com/products/expresslane/pex8604
> 
> I was wondering how to handle this thing, ie;
> 
> I have to PCIe devices behind this switch, which looks thus:
> 
> 06:00.0 PCI bridge: PLX Technology, Inc. Device 8604 (rev ba)
> 07:01.0 PCI bridge: PLX Technology, Inc. Device 8604 (rev ba)
> 07:04.0 PCI bridge: PLX Technology, Inc. Device 8604 (rev ba)
> 07:05.0 PCI bridge: PLX Technology, Inc. Device 8604 (rev ba)
> 09:00.0 Multimedia controller: Philips Semiconductors Device 7231 (rev aa)
> 0a:00.0 Multimedia controller: Philips Semiconductors Device 7231 (rev aa)

Can you post "lspci -vt" and "lspci -v" output?
It will tell us alot more about the heirarchy and address space routing.

> I am wondering if i need to access or address the switch specifically
> to forward data specifically to one of the bridges behind the switch.

No. MMIO routing is handling by MMIO "window" register in the bridge.

While it's called a "switch" because it can route MMIO transactions
from one downstream PCI-e link to any other.

> At present I can access one of the Multimedia controllers (09:00.0) ,
> but it seems I can't access the other one and hence my question as to
> determine whether it is something else.

"lspci -vt" will show what is visible in PCI Config space.

"lspci -v" will tell us how the bridge is configured.

hth,
grant

  reply	other threads:[~2010-03-15  5:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-14 19:18 Manu Abraham
2010-03-15  5:32 ` Grant Grundler [this message]
2010-03-15  6:15   ` Manu Abraham
2010-03-16  5:24     ` Grant Grundler
  -- strict thread matches above, loose matches on Subject: below --
2010-03-14 19:15 Manu Abraham

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=20100315053209.GC28926@lackof.org \
    --to=grundler@parisc-linux.org \
    --cc=abraham.manu@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®