Received: from eggs.gnu.org ([2001:4830:134:3::10]:48709) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bx97w-0003JX-5f for qemu-devel@nongnu.org; Thu, 20 Oct 2016 04:55:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bx97t-0000Ec-4b for qemu-devel@nongnu.org; Thu, 20 Oct 2016 04:55:04 -0400 References: <1476940330-27705-1-git-send-email-david@gibson.dropbear.id.au> <1476940330-27705-14-git-send-email-david@gibson.dropbear.id.au> From: Thomas Huth Message-ID: Date: Thu, 20 Oct 2016 10:54:54 +0200 MIME-Version: 1.0 In-Reply-To: <1476940330-27705-14-git-send-email-david@gibson.dropbear.id.au> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 13/13] spapr: Remove spapr_create_fdt_skel() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: David Gibson , aik@ozlabs.ru, mdroth@linux.vnet.ibm.com, groug@kaod.org Cc: agraf@suse.de, lvivier@redhat.com, qemu-ppc@nongnu.org, qemu-devel@nongnu.org On 20.10.2016 07:12, David Gibson wrote: > For historical reasons construction of the guest device tree in spapr is > divided between spapr_create_fdt_skel() which is called at init time, and > spapr_build_fdt() which runs at reset time. Over time, more and more > things have needed to be moved to reset time. > > Previous cleanups mean the only things left in spapr_create_fdt_skel() are > the properties of the root node itself. Finish consolidating these two > parts of device tree construction, by moving this to the start of > spapr_build_fdt(), and removing spapr_create_fdt_skel() entirely. > > Signed-off-by: David Gibson > --- > hw/ppc/spapr.c | 94 +++++++++++++++++++------------------------------- > include/hw/ppc/spapr.h | 1 - > 2 files changed, 36 insertions(+), 59 deletions(-) Reviewed-by: Thomas Huth