qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 09/13] pseries: Consolidate construction of /rta


From: Thomas Huth
Subject: Re: [Qemu-devel] [PATCH 09/13] pseries: Consolidate construction of /rtas device tree node
Date: Thu, 20 Oct 2016 10:39:29 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0

On 20.10.2016 07:12, David Gibson wrote:
> For historical reasons construction of the /rtas node in the device
> tree (amongst others) is split into several places.  In particular
> it's split between spapr_create_fdt_skel(), spapr_build_fdt() and
> spapr_rtas_device_tree_setup().
> 
> In fact, as well as adding the actual RTAS tokens to the device tree,
> spapr_rtas_device_tree_setup() just adds the ibm,lrdr-capacity
> property, which despite going in the /rtas node, doesn't have a lot to
> do with RTAS.
> 
> This patch consolidates the code constructing /rtas together into a new
> spapr_dt_rtas() function.  spapr_rtas_device_tree_setup() is renamed to
> spapr_dt_rtas_tokens() and now only adds the token properties.
> 
> Signed-off-by: David Gibson <address@hidden>
> ---
>  hw/ppc/spapr.c         | 130 
> +++++++++++++++++++++++++++----------------------
>  hw/ppc/spapr_rtas.c    |  33 ++-----------
>  include/hw/ppc/spapr.h |   3 +-
>  3 files changed, 76 insertions(+), 90 deletions(-)

Reviewed-by: Thomas Huth <address@hidden>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]