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

2016-03-18 Thread Guilherme G. Piccoli
Thanks very much for the comments Gavin! I agree with all of them, will rework the patch and send a new version. Cheers, Guilherme ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

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

2016-03-15 Thread Gavin Shan
On Tue, Mar 15, 2016 at 07:54:41PM -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 during

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

2016-03-15 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 PCI device hotplug. As recent kernels are using predictab