diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2016-10-20 15:34:59 +1100 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2016-10-28 09:38:25 +1100 |
commit | cf6e522390126bdd20406481f3df79c194a431bd (patch) | |
tree | 2310425edc3060ac5b7cebc105da236355fe996f /hw/ppc/spapr_rtas.c | |
parent | a19f7fb0456b3d1329a2086d81418a49c1eae9b9 (diff) |
pseries: Move adding of fdt reserve map entries
The flattened device tree passed to pseries guests contains a list of
reserved memory areas. Currently we construct this list early in
spapr_create_fdt_skel() as we sequentially write the fdt.
This will be inconvenient for upcoming cleanups, so this patch moves
the reserve map changes to the end of fdt construction. This changes
fdt_add_reservemap_entry() calls - which work when writing the fdt
sequentially to fdt_add_mem_rsv() calls used when altering the fdt in
random access mode.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'hw/ppc/spapr_rtas.c')
0 files changed, 0 insertions, 0 deletions