spapr: make sure RMA is in first mode of first memory node
commitc4177479069d6d643e0e0f90595795406db7efbf
authorAlexey Kardashevskiy <aik@ozlabs.ru>
Mon, 25 Nov 2013 03:14:50 +0000 (25 14:14 +1100)
committerAlexander Graf <agraf@suse.de>
Fri, 20 Dec 2013 00:58:13 +0000 (20 01:58 +0100)
treecae87cfa08e208ab251c93f486ae3f29e15e1ced
parentbe5907f2cc6d075b1d687e51a0e0d8ac074a7ac8
spapr: make sure RMA is in first mode of first memory node

The SPAPR specification says that the RMA starts at the LPAR's logical
address 0 and is the first logical memory block reported in
the LPAR’s device tree.

So SLOF only maps the first block and that block needs to span
the full RMA.

This makes sure that the RMA area is where SLOF expects it.

Reviewed-by: Thomas Huth <thuth@linux.vnet.ibm.com>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Alexander Graf <agraf@suse.de>
hw/ppc/spapr.c