public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: Sergei Shtylyov <sshtylyov@ru•mvista.com>
To: Laurent Lagrange <lagrange@fr•oleane.com>
Cc: linuxppc-dev@ozlabs•org
Subject: Re: PCI configuration with multiple PCI controllers
Date: Fri, 01 Feb 2008 17:43:36 +0300	[thread overview]
Message-ID: <47A33018.2090606@ru.mvista.com> (raw)
In-Reply-To: <000001c864df$63b833c0$a501a8c0@GEGE6600V>

Hello.

Laurent Lagrange wrote:

> I have a MPC8641 based board. I try to use the two PCIe controllers. My
> firmware configures (physically) the PCI buses as follow:

> ------------------+
> MPC8641 PCIe 1	|	bus 1		+--------------+
> 			| --------------> | PCI device 0 |
> 	BUS 0		|			+--------------+
> - - - - - - - - - +
> MPC8641 PCIe 2	|	bus 3		+--------------+
> 			| --------------> | PCI device 1 |
> 	BUS 2		|			+--------------+
> ------------------+

> I launch the Linux image (2.6.23.9). During the Kernel PCI configuration,
> buses behind the 2nd MPC8641 PCIe are skipped because its primary bus don't
> start at bus number 0. The kernel reconfigure the primary bus number of the
> MPC8641 PCIe 2 controller from 2 to 0.

    Hm...

> I can patch the kernel to work with my firmware but I don't know if my PCI
> configuration is the good one.

> What is the common way to configure the PCI for Linux when a new controller
> is found: start the bus number to 0 or to the last bus number + 1?

    The latter. Otherwise it just won't work.

WBR, Sergei

  reply	other threads:[~2008-02-01 15:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-01 14:33 PCI configuration with multiple PCI controllers Laurent Lagrange
2008-02-01 14:43 ` Sergei Shtylyov [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-01-30  8:37 Laurent Lagrange
2008-01-29 14:20 Laurent Lagrange
2008-01-30 14:24 ` Kumar Gala

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=47A33018.2090606@ru.mvista.com \
    --to=sshtylyov@ru$(echo .)mvista.com \
    --cc=lagrange@fr$(echo .)oleane.com \
    --cc=linuxppc-dev@ozlabs$(echo .)org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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