[Skiboot] [RFC PATCH 00/11] Device tree updates

Oliver O'Halloran oohall at gmail.com
Wed Sep 28 22:39:17 AEST 2016


On Wed, Sep 28, 2016 at 10:05 PM, Vasant Hegde
<hegdevasant at linux.vnet.ibm.com> wrote:
> This patchset makes various device tree updates for P9. This is based on
> latest HDAT spec (v10.3g).
>
> I've verified this patchset on P8 tuleta box. It booted fine. Hopefully
> I've not broken anything on P8.

Should be fine provided the hdat_to_dt tests pass. You can run them
with `make hdata-check`

>I will check with FW to see whether we can verify these changes on simulators.

Currently there is no code in hostboot to generate the new HDAT
fields. I'm not sure what the ETA is either. I've got some code for
parsing the new fields, but I didn't want to post until they had some
testing.

>
>
> TODO:
>   - Parse SP ntuple and create LPC node
>   - Create PNOR node
>     On p8 BMC based system hostboot DT provides PNOR information.
>     I do not see anyone using this information. But we may just want
>     to add these nodes.

I've got a patch for the LPC IO.

>   - Create BMC sensors node
>   - Secure boot changes (secure boot and TPM)

Talk to Claudio about the TPM stuff. I'm not sure if the DT bindings
for the TPM are finalised yet.

>   - PCIA changes

I think I've got patches for this. I'll check tomorrow.

>   - MPIPL related changes (MD[ST/DT/RT], Processor dump ntuple)
>     It will not have impact on booting system. I will add these
>     changes along with dump code change.
>
>
> Vasant Hegde (11):
>   hdat: SPIRA-H/S changes for P9
>   hdat: Add processor version check for hs service ntuple
>   hdat: Add new fields to IPL params structure
>   hdat: Grab vendor information from HDAT when available
>   hdat: Grab system model name from HDAT when available
>   hdat: add_iplparams_serial - Validate HDIF_get_iarray_size() return value
>   hdat: Add new fields to proc_init_data structure
>   hdat: Add new fields to ms vpd ntuple
>   hdat: Parse hostboot memory reservations from HDAT
>   hdat: Add P9 compatible property
>   hdat: Add PSI HB xscom details
>
>  hdata/memory.c              | 31 +++++++++++++++++++++++++++++++
>  hdata/spira.c               | 34 +++++++++++++++++++++++++++++++++-
>  hdata/spira.h               | 44 ++++++++++++++++++++++++++++++++++++++------
>  hdata/test/p8-840-spira.dt  |  2 +-
>  hdata/test/p81-811.spira.dt |  2 +-
>  hdata/vpd.c                 | 41 ++++++++++++++++++++++++++++++++---------
>  6 files changed, 136 insertions(+), 18 deletions(-)
>
> --
> 2.5.5
>
> _______________________________________________
> Skiboot mailing list
> Skiboot at lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/skiboot


More information about the Skiboot mailing list