Re: [PATCH 2/2] pci: Use Qemu created PCI device nodes

2015-04-26 Thread Nikunj A Dadhania
Hi Thomas, Thomas Huth writes: > Hi Nikunj, > > On Wed, 22 Apr 2015 16:27:20 +0530 > Nikunj A Dadhania wrote: > >> PCI Enumeration has been part of SLOF. Now with hotplug code addition >> in Qemu, it makes more sense to have this code a one place, i.e. Qemu. > > s/Qemu/QEMU/ and s/code a one p

Re: [PATCH 2/2] pci: Use Qemu created PCI device nodes

2015-04-25 Thread Benjamin Herrenschmidt
On Sat, 2015-04-25 at 17:31 +1000, Alexey Kardashevskiy wrote: > We need BAR setup in 2 cases: when SLOF needs to boot from a PCI device > (and SLOF can do BAR setup) and when we do PCI hotplug - and BARs are set > by the guest, otherwise we hit races here (Michael Roth can tell more). So > as f

Re: [PATCH 2/2] pci: Use Qemu created PCI device nodes

2015-04-25 Thread Alexey Kardashevskiy
On 04/25/2015 05:30 AM, Thomas Huth wrote: Hi Nikunj, On Wed, 22 Apr 2015 16:27:20 +0530 Nikunj A Dadhania wrote: PCI Enumeration has been part of SLOF. Now with hotplug code addition in Qemu, it makes more sense to have this code a one place, i.e. Qemu. s/Qemu/QEMU/ and s/code a one pla

Re: [PATCH 2/2] pci: Use Qemu created PCI device nodes

2015-04-24 Thread Thomas Huth
Hi Nikunj, On Wed, 22 Apr 2015 16:27:20 +0530 Nikunj A Dadhania wrote: > PCI Enumeration has been part of SLOF. Now with hotplug code addition > in Qemu, it makes more sense to have this code a one place, i.e. Qemu. s/Qemu/QEMU/ and s/code a one place/code in one place/ ? > Adding routines t

[PATCH 2/2] pci: Use Qemu created PCI device nodes

2015-04-22 Thread Nikunj A Dadhania
PCI Enumeration has been part of SLOF. Now with hotplug code addition in Qemu, it makes more sense to have this code a one place, i.e. Qemu. Adding routines to walk through the device nodes created by Qemu. SLOF will configure the device/bridges and program the BARs for communicating with the devi