[Skiboot] [PATCH v4 0/6] Add support for SPIRA-H
Vasant Hegde
hegdevasant at linux.vnet.ibm.com
Tue Mar 22 16:48:52 AEDT 2016
Service Processor Interface Root Array -- defines the interface between
the service processor and the hypervisor/firmware. Its the basic data
format from which the device tree is built on traditional FSP based
systems.
In latest firwmare the SPIRA is split into two portions, a hypervisor
initialized and managed portion and a service processor (FSP) built portion,
to accommodate secure boot. The hypervisor portion will be referred to as
the SPIRA-H and the FSP portion referred to as the SPIRA-S.
The legacy N-tuples that are no logner being used have been removed. N-tuples
that are initialized by the hypervisor at compile/build time but not modified
by the FSP reside in the SPIRA-H. All other N-tuples reside in the SPIRA-S that
is built dynamically by the FSP at the beginning of that HDAT memory pointed to
by the “Host Data Area” N-tuple in SPIRA-H.
This patchset adds support for new SPIRA format.
@Stewart,
I've tested this patchset on P8 and P7. Its working fine on both P8 (new SPIRA
format) and P7 (legacy SPIRA format). Also I have discussed with Venkatesh and
he confirmed that it will work on P7/P8 servers.
Chnages in v4:
- As Michael suggested used HDIF_check() for SPIRAS header checking (patch 4/6)
Changes in v3:
- Fixed broken hdata test case
- Added new test case
Vasant Hegde (6):
hdata: Reduce reserved space in spira structure
hdata: Define SPIRA-H and SPIRA-S structure
hdata: Initialize SPIRA-H structure
hdata: Enable SPIRA-H
hdata/hdata_to_dt: Add -s option
hdata/test: Add new test case
asm/head.S | 2 +-
hdata/spira.c | 94 +
hdata/spira.h | 71 +-
hdata/test/Makefile.check | 3 +
hdata/test/hdata_to_dt.c | 80 +-
hdata/test/p8-840-spira.dt | 4299 ++++++++++++++++++++++++++++++++++++++++
hdata/test/p8-840-spira.spirah | Bin 0 -> 1024 bytes
hdata/test/p8-840-spira.spiras | Bin 0 -> 2388512 bytes
include/mem-map.h | 5 +-
skiboot.lds.S | 5 +
10 files changed, 4528 insertions(+), 31 deletions(-)
create mode 100644 hdata/test/p8-840-spira.dt
create mode 100644 hdata/test/p8-840-spira.spirah
create mode 100644 hdata/test/p8-840-spira.spiras
--
Vasant
2.5.0
More information about the Skiboot
mailing list