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

Vasant Hegde hegdevasant at linux.vnet.ibm.com
Sat Feb 13 02:38:05 AEDT 2016


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, Ben,
  I've tested this patch on P8 and P7. Its working fine on both P8 (new SPIRA
  format) and P7 (legacy SPIRA format). I will check with FW folks to make
  sure we are passing all the information expected by FSP.

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

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

--
-Vasant
2.1.0



More information about the Skiboot mailing list