[Skiboot] [PATCH v2 1/2] hdata: Add memory hierarchy under xscom node
stewart at linux.vnet.ibm.com
Tue Dec 19 11:51:42 AEDT 2017
Vasant Hegde <hegdevasant at linux.vnet.ibm.com> writes:
> We have memory to chip mapping but doesn't have complete memory hierarchy.
> This patch adds memory hierarchy under xscom node. This is specific to
> P9 system as these hierarchy may change between processor generation.
> It uses memory controller ID details and populates nodes like:
> Also this patch adds few properties under dimm node.
> Finally make sure xscom nodes created before calling memory_parse().
> Signed-off-by: Vasant Hegde <hegdevasant at linux.vnet.ibm.com>
> hdata/memory.c | 130 ++++++++++++++++++++++++++++++++++++++++++-
> hdata/spira.c | 6 +-
> hdata/test/p8-840-spira.dts | 10 ++--
> hdata/test/p81-811.spira.dts | 20 +++----
> 4 files changed, 146 insertions(+), 20 deletions(-)
I've merged the series as of c0840ae7330fcbc310d864894f7a8b79f32ce05e
although I'd like to see some documentation behind this, and some way we
could get userspace to reliably and (forwards compatible) produce a
graph of the memory hierarchy.
OPAL Architect, IBM.
More information about the Skiboot