Linux PCI subsystem development
 help / color / mirror / Atom feed
From: Ruchika <ruchika.k@servergy.com>
To: linux-pci@vger.kernel.org
Subject: Question: 2 PCIE controllers
Date: Sat, 07 Dec 2013 20:48:43 -0600	[thread overview]
Message-ID: <52A3DE0B.7020809@servergy.com> (raw)
In-Reply-To: <52A26913.6030604@servergy.com>


Hi,
I am working with an Soc with 3 PCIE controllers.
I need to have 2 configured.

In uboot I have no problems scanning and discovering what is connected
to both bridges PCIE1 and PCIE2

For both uboot sets up the Primary, secondary and Subordinate bus
numbers to 0,1,1 respectively.

When linux boots up and probes the controllers, PCIE1 is probed and the
bridge scanned properly but PCIE2 is probed at the bridge but not
attempted a scan.
I see this message
"pci 0001:02:00.0: bridge configuration invalid ([bus 01-01]), reconfiguring
"

I updated uboot to set the secondary and subordinate numbers to 2 (left
the primary number to 0) and a subsequent kernel boot scanned the bus
for PCIE2 successfully.
I found these numbers to be very critical since the device tree blob
(bus-range) for pci is also based off these.

I'd like to get a good fix and get better understanding of the problem.
If there are any pointers someone could provide it would be awesome.

Thank you
Regards
Ruchika




       reply	other threads:[~2013-12-08  2:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <52A26913.6030604@servergy.com>
2013-12-08  2:48 ` Ruchika [this message]
2013-12-08  3:40   ` Question: 2 PCIE controllers Yinghai Lu
2013-12-09 17:11   ` Bjorn Helgaas

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=52A3DE0B.7020809@servergy.com \
    --to=ruchika.k@servergy.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox