Re: [v7] powerpc/pci: Assign fixed PHB number based on device-tree properties

2016-07-08 Thread Michael Ellerman
On Wed, 2016-29-06 at 18:14:22 UTC, "Guilherme G. Piccoli" wrote: > The domain/PHB field of PCI addresses has its value obtained from a > global variable, incremented each time a new domain (represented by > struct pci_controller) is added on the system. The domain addition > process happens

Re: [PATCH v7] powerpc/pci: Assign fixed PHB number based on device-tree properties

2016-07-02 Thread Gavin Shan
On Wed, Jun 29, 2016 at 03:14:22PM -0300, Guilherme G. Piccoli wrote: >The domain/PHB field of PCI addresses has its value obtained from a >global variable, incremented each time a new domain (represented by >struct pci_controller) is added on the system. The domain addition >process happens

[PATCH v7] powerpc/pci: Assign fixed PHB number based on device-tree properties

2016-06-29 Thread Guilherme G. Piccoli
The domain/PHB field of PCI addresses has its value obtained from a global variable, incremented each time a new domain (represented by struct pci_controller) is added on the system. The domain addition process happens during boot or due to PHB hotplug add. As recent kernels are using predictable