[Skiboot] [PATCH v2 0/4] Add support for SPIRA-H

Vasant Hegde hegdevasant at linux.vnet.ibm.com
Fri Feb 26 02:32:22 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.

Vasant Hegde (4):
  hdata: Reduce reserved space in spira structure
  hdata: Define SPIRA-H and SPIRA-S structure
  hdata: Initialize SPIRA-H structure
  hdata: Enable SPIRA-H

 asm/head.S        |  2 +-
 hdata/spira.c     | 91 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 hdata/spira.h     | 67 +++++++++++++++++++++++++++++++++++++++-
 include/mem-map.h |  5 ++-
 skiboot.lds.S     |  5 +++
 5 files changed, 167 insertions(+), 3 deletions(-)

--
Vasant
2.5.0



More information about the Skiboot mailing list