[PATCH v4 15/21] powerpc/pci: Delay creating pci_dn

2015-04-30 Thread Gavin Shan
The pci_dn instances are allocated from memblock or bootmem when creating PCI controller (hoses) in setup_arch(). The PCI hotplug, which will be supported by proceeding patches, will release PCI device nodes and their corresponding pci_dn on unplugging event. The pci_dn instance memory chunks alloe

Re: [PATCH v4 15/21] powerpc/pci: Delay creating pci_dn

2015-05-09 Thread Alexey Kardashevskiy
On 05/01/2015 04:03 PM, Gavin Shan wrote: The pci_dn instances are allocated from memblock or bootmem when creating PCI controller (hoses) in setup_arch(). The PCI hotplug, which will be supported by proceeding patches, will release PCI device nodes and their corresponding pci_dn on unplugging ev

Re: [PATCH v4 15/21] powerpc/pci: Delay creating pci_dn

2015-05-11 Thread Gavin Shan
On Sun, May 10, 2015 at 12:55:51AM +1000, Alexey Kardashevskiy wrote: >On 05/01/2015 04:03 PM, Gavin Shan wrote: >>The pci_dn instances are allocated from memblock or bootmem when >>creating PCI controller (hoses) in setup_arch(). The PCI hotplug, >>which will be supported by proceeding patches, wi