public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <benh@kernel•crashing.org>
To: Milton Miller <miltonm@bga•com>
Cc: Tony Luck <tony.luck@intel•com>,
	Linus Torvalds <torvalds@linux-foundation•org>,
	linuxppc-dev@lists•ozlabs.org,
	lkml <linux-kernel@vger•kernel.org>,
	Dominik Brodowski <linux@dominikbrodowski•net>,
	Jesse Barnes <jbarnes@virtuousgeek•org>,
	Greg Kroah-Hartmann <greg@kroah•com>,
	Bjorn Helgaas <bhelgaas@google•com>,
	Andrew Morton <akpm@linux-foundation•org>,
	Yinghai Lu <yinghai@kernel•org>
Subject: Re: [PATCH 08/18] PCI, powerpc: Register busn_res for root buses
Date: Tue, 03 Apr 2012 07:22:47 +1000	[thread overview]
Message-ID: <1333401767.30734.58.camel@pasglop> (raw)
In-Reply-To: <powerpc-pci-domains-by-busnumber-resend@mdm.bga.com>

On Mon, 2012-04-02 at 05:19 -0500, Milton Miller wrote:
> 
> In the POWER3 era we had several boxes that split the pci bus number
> space across domains and RTAS used the bus number to find the correct
> PHB.   This contineed to the first RS64 boxes.  By S80 and RS64-III
> it was obvious that we didn't have enough numbers to continue this
> ilusion and we added the presently used RTAS calls that take the pci
> domain as well as bus, device, and function numbers.
> 
> The bus numbers split across pci domains started with the F50
> F50 chrp 32 bit platforms. 

Ok, so old CHRPs would have a split as well...

I think the best is to honor the bus-range property of the PHB as min &
max values, and if we feel a need to allow the kernel to assign busses
beyond that, we can always quirk the appropriate platform code.

Cheers,
Ben.

      reply	other threads:[~2012-04-02 21:23 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1330395009-29260-1-git-send-email-yinghai@kernel.org>
2012-02-28  2:09 ` [PATCH 08/18] PCI, powerpc: Register busn_res for root buses Yinghai Lu
2012-02-28  5:36   ` Bjorn Helgaas
2012-02-28  8:54     ` Benjamin Herrenschmidt
2012-02-28 23:31     ` Bjorn Helgaas
2012-02-28 23:41       ` Benjamin Herrenschmidt
2012-04-02  9:58         ` Milton Miller
2012-04-02 10:19         ` Milton Miller
2012-04-02 21:22           ` Benjamin Herrenschmidt [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=1333401767.30734.58.camel@pasglop \
    --to=benh@kernel$(echo .)crashing.org \
    --cc=akpm@linux-foundation$(echo .)org \
    --cc=bhelgaas@google$(echo .)com \
    --cc=greg@kroah$(echo .)com \
    --cc=jbarnes@virtuousgeek$(echo .)org \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linux@dominikbrodowski$(echo .)net \
    --cc=linuxppc-dev@lists$(echo .)ozlabs.org \
    --cc=miltonm@bga$(echo .)com \
    --cc=tony.luck@intel$(echo .)com \
    --cc=torvalds@linux-foundation$(echo .)org \
    --cc=yinghai@kernel$(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