Re: [Qemu-devel] [PATCH v7 3/6] spapr_pci: enumerate and add PCI device tree

2015-06-19 Thread David Gibson
On Wed, Jun 17, 2015 at 02:12:14PM +0530, Nikunj A Dadhania wrote: David Gibson da...@gibson.dropbear.id.au writes: On Thu, Jun 11, 2015 at 04:32:26PM +0530, Nikunj A Dadhania wrote: All the PCI enumeration and device node creation was off-loaded to SLOF. With PCI hotplug support, code

Re: [Qemu-devel] [PATCH v7 3/6] spapr_pci: enumerate and add PCI device tree

2015-06-17 Thread David Gibson
On Thu, Jun 11, 2015 at 04:32:26PM +0530, Nikunj A Dadhania wrote: All the PCI enumeration and device node creation was off-loaded to SLOF. With PCI hotplug support, code needed to be added to add device node. This creates multiple copy of the code one in SLOF and other in hotplug code. To

Re: [Qemu-devel] [PATCH v7 3/6] spapr_pci: enumerate and add PCI device tree

2015-06-17 Thread Nikunj A Dadhania
David Gibson da...@gibson.dropbear.id.au writes: On Thu, Jun 11, 2015 at 04:32:26PM +0530, Nikunj A Dadhania wrote: All the PCI enumeration and device node creation was off-loaded to SLOF. With PCI hotplug support, code needed to be added to add device node. This creates multiple copy of the

[Qemu-devel] [PATCH v7 3/6] spapr_pci: enumerate and add PCI device tree

2015-06-11 Thread Nikunj A Dadhania
All the PCI enumeration and device node creation was off-loaded to SLOF. With PCI hotplug support, code needed to be added to add device node. This creates multiple copy of the code one in SLOF and other in hotplug code. To unify this, the patch adds the pci device node creation in Qemu. For