Re: [PATCH][2/2] PPC64: RPA dynamic addition/removal of PCI Host Bridges

From: Greg KH
Date: Wed Sep 29 2004 - 16:21:56 EST


On Wed, Sep 29, 2004 at 03:18:37PM +1000, Paul Mackerras wrote:
> From: John Rose <johnrose@xxxxxxxxxxxxxx>
>
> The following patch implements the ppc64-specific bits for dynamic (DLPAR)
> addition of PCI Host Bridges. The entry point for this operation is
> init_phb_dynamic(), which will be called by the RPA DLPAR driver.
>
> Among the implementation details, the global number aka PCI domain for the
> newly added PHB is assigned using the same simple counter that assigns it at
> boot. This has two consequences. First, the PCI domain associated with a PHB
> will not persist across DLPAR remove and subsequent add. Second, stress tests
> that repeatedly add/remove PHBs might generate some large values for PCI
> domain. If we decide at a later point to hash an OF property to PCI domain
> value, this can be easily fixed up.
>
> Also, the linux,pci-domain property is not generated for the newly added PHBs
> at the moment. Because there doesn't seem to be an easy way to dynamically add
> single properties to the OFDT, and because the userspace dependency on this
> property is being questioned, I've ignored it for now. If we decide on a
> solution for this at a later point, it can also be easily fixed up.

Applied, thanks.

greg k-h

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/