[Skiboot] [PATCH] core: Fix mismatched names between reserved memory nodes & properties
Stewart Smith
stewart at linux.vnet.ibm.com
Wed Feb 21 14:30:24 AEDT 2018
Jeremy Kerr <jk at ozlabs.org> writes:
> OPAL exposes reserved memory regions through the device tree in both new
> (nodes) and old (properties) formats.
>
> However, the names used for these don't match - we use a generated cell
> address for the nodes, but the plain region name for the properties.
>
> This change, heavily based on code from Oliver O'Halloran
> <oohall at gmail.com>, reworks the dt-generation code to firstly generate
> the new-format nodes, then uses those same names to generate the
> property data.
>
> Reported-by: Deb McLemore <debmc at linux.vnet.ibm.com>
> CC: Oliver O'Halloran <oohall at gmail.com>
> Signed-off-by: Jeremy Kerr <jk at ozlabs.org>
> ---
> core/mem_region.c | 34 ++++++++++++++++++++--------------
> 1 file changed, 20 insertions(+), 14 deletions(-)
Merged to master as of 237cd0c50a669af3aff4e804d19b785f7515179d, and I
fixed up the test case as I merged it.
--
Stewart Smith
OPAL Architect, IBM.
More information about the Skiboot
mailing list