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

2016-05-10 Thread Guilherme G. Piccoli
On 05/02/2016 01:57 PM, Bjorn Helgaas wrote: On Thu, Apr 14, 2016 at 06:55:24PM -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

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

2016-05-02 Thread Bjorn Helgaas
On Thu, Apr 14, 2016 at 06:55:24PM -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

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

2016-04-19 Thread Guilherme G. Piccoli
On 04/19/2016 04:27 AM, Ian Munsie wrote: Thanks for addressing my feedback :) Reviewed-by: Ian Munsie Thanks very much for reviewing Ian =) Cheers, Guilherme ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org

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

2016-04-14 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