[Skiboot] [PATCH] hdata/memory: Add memory reservations to the DT
stewart at linux.vnet.ibm.com
Tue Jul 25 18:19:46 AEST 2017
Oliver O'Halloran <oohall at gmail.com> writes:
> Currently we just add these to a list of pre-boot reserved regions
> which is then converted into a the contents of the /reserved-memory/
> node just before Skiboot jumps into the firmware kernel.
> This approach is insufficent because we need to add the ibm,prd-instance
> labels to the various hostboot reserved regions. To do this we want to
> create these resevation nodes inside the HDAT parser rather than having
> the mem_region flattening code handle it. On P8 systems Hostboot placed
> its memory reservations under the /ibm,hostboot/ node and this patch
> makes the HDAT parser do the same.
> Signed-off-by: Oliver O'Halloran <oohall at gmail.com>
> hdata/memory.c | 54 +++++++++++++++++++++++++++++++++++++++++++++++++++---
> hdata/spira.h | 5 ++++-
> 2 files changed, 55 insertions(+), 4 deletions(-)
Merged to master as of efa238b10f835808d110a66135e12c72367b97dc
OPAL Architect, IBM.
More information about the Skiboot