Received: from eggs.gnu.org ([2001:4830:134:3::10]:50984) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YnMxF-0003UK-4K for qemu-devel@nongnu.org; Wed, 29 Apr 2015 04:02:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YnMxB-0005VY-4U for qemu-devel@nongnu.org; Wed, 29 Apr 2015 04:02:49 -0400 Received: from e23smtp09.au.ibm.com ([202.81.31.142]:45568) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YnMxA-0005Um-Gx for qemu-devel@nongnu.org; Wed, 29 Apr 2015 04:02:45 -0400 Received: from /spool/local by e23smtp09.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 29 Apr 2015 18:02:40 +1000 From: Nikunj A Dadhania Date: Wed, 29 Apr 2015 13:31:33 +0530 Message-Id: <1430294495-22128-1-git-send-email-nikunj@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] [PATCH v2 0/2] spapr: move pci device creation to Qemu List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: nikunj@linux.vnet.ibm.com, aik@ozlabs.ru, mdroth@linux.vnet.ibm.com, agraf@suse.de, qemu-ppc@nongnu.org, david@gibson.dropbear.id.au The patch series creates PCI DT nodes in QEMU. The new hotplug code needs the device node creation in Qemu. While during boot, nodes were created in SLOF. It makes more sense to consolidate the code to one place for better maintainability. Based on sPAPR PCI Hotplug patches by Michael Roth https://github.com/mdroth/qemu/commits/spapr-hotplug-pci Also, patches for populating ibm,loc-code was getting very complicated with use of RTAS/HCALL Changelog v1: * Correct indent problems reported by checkpatch(David Gibson) * Declare sPAPRFDT structure as local (David Gibson) * Re-arrange code to avoid multiple indentation (Alexey Kardashevskiy) Nikunj A Dadhania (2): spapr: enumerate and add PCI device tree spapr: populate ibm,loc-code hw/ppc/spapr_pci.c | 183 +++++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 170 insertions(+), 13 deletions(-) -- 1.8.3.1