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

2016-05-25 Thread Guilherme G. Piccoli
On 05/25/2016 03:26 AM, Michael Ellerman wrote: On Wed, 2016-18-05 at 01:48:00 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.

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

2016-05-24 Thread Michael Ellerman
On Wed, 2016-18-05 at 01:48:00 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 during

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

2016-05-17 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