[Skiboot] [PATCH v2 4/5] hdata: Add memory hierarchy under xscom node

Stewart Smith stewart at linux.vnet.ibm.com
Fri Sep 1 16:48:36 AEST 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:
>   xscom@<addr>/mcbist@<mcbist_id>/mcs@<mcs_id>/mca@<mca_id>/dimm@<resource_id>
>
> Also this patch adds few properties under dimm node.
> Finally make sure xscom nodes created before calling memory_parse().

Can you please add something to doc/device-tree documenting what we generate?

It's a bit unclear how somebody would use the information here. Could we
use it to construct a diagram of how the system is layed out?

-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Skiboot mailing list