Received: from eggs.gnu.org ([2001:4830:134:3::10]:33063) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YpYZO-00023J-7Q for qemu-devel@nongnu.org; Tue, 05 May 2015 04:51:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YpYZK-0006o4-8F for qemu-devel@nongnu.org; Tue, 05 May 2015 04:51:14 -0400 Received: from e23smtp02.au.ibm.com ([202.81.31.144]:59600) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YpYZJ-0006nU-D6 for qemu-devel@nongnu.org; Tue, 05 May 2015 04:51:10 -0400 Received: from /spool/local by e23smtp02.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 5 May 2015 18:51:04 +1000 From: Nikunj A Dadhania In-Reply-To: <1430815398-24549-1-git-send-email-nikunj@linux.vnet.ibm.com> References: <1430815398-24549-1-git-send-email-nikunj@linux.vnet.ibm.com> Date: Tue, 05 May 2015 14:20:01 +0530 Message-ID: <87mw1je7d2.fsf@abhimanyu.in.ibm.com> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH v3 0/6] spapr_pci: DT field fixes and PCI DT node creation in QEMU List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, david@gibson.dropbear.id.au Cc: aik@ozlabs.ru, qemu-ppc@nongnu.org, agraf@suse.de, mdroth@linux.vnet.ibm.com Nikunj A Dadhania writes: > The patch series creates PCI device tree(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 David's spapr-next > https://github.com/dgibson/qemu/tree/spapr-next > > Also, patches for populating ibm,loc-code was getting very complicated > with use of RTAS/HCALL > Something went wrong in my git-send email, will repost correcting the duplication of patches. > Changelog V2: > * Fix device tree for 64-bit encoding > * Fix the class code, was failing xhci > * Remove macro duplication > * Fix DT fields generation for boot time device (Michael Roth) > > 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) > > Michael Roth (1): > spapr_pci: fix boot-time device tree fields for pci hotplug > > Nikunj A Dadhania (5): > spapr_pci: remove duplicate macros > spapr_pci: encode missing 64-bit memory address space > spapr_pci: encode class code including Prog IF register > spapr_pci: enumerate and add PCI device tree > spapr_pci: populate ibm,loc-code > > hw/ppc/spapr_pci.c | 221 +++++++++++++++++++++++++++++++++++++++++++++++------ > 1 file changed, 198 insertions(+), 23 deletions(-) > > -- > 1.8.3.1 Regards, Nikunj