[Skiboot] [RFC PATCH v2 0/8] PEF support in skiboot
Ryan Grimm
grimm at linux.ibm.com
Fri Sep 20 23:58:15 AEST 2019
Hi,
These are RFC V2 patches for Protected Execution Facility (PEF) support in
Skiboot. They are based off of Skiboot v6.4.
The first patch is documentation which describes how skiboot initializes and
interacts with the ultravisor.
The previous patches are here:
https://lists.ozlabs.org/pipermail/skiboot/2019-September/015230.html and all
of the TODOs are fixed in this patch set, except we don't have OCC, but I
cleaned up our OCC hack patch and included it here so we actually boot on
Hostboot.
I (hope I) addressed Stewart's comments. Mainly, that we have documentation,
use secure and trusted boot, and are smarter about allocating and freeing
memory for the UV image.
They have been tested in Mambo, BML, and Hostboot.
Thanks,
Ryan
Claudio Carvalho (1):
libstb/trustedboot: Map UV image measurement to PCR6
Madhavan Srinivasan (5):
Add ultravisor support in OPAL
pef: Add memcons support for ultravisor
pef: ultra-call support for skiboot
xscoms: read/write xscoms using ucall
skiboot/imc: Disable IMC node when UV enabled
Ryan Grimm (2):
doc/opal-uv-api.rst
occ: Disable OCC on UV systems
asm/head.S | 54 ++++
core/flash.c | 1 +
core/init.c | 11 +
doc/opal-uv-api.rst | 372 +++++++++++++++++++++++++++
hdata/memory.c | 17 +-
hdata/spira.c | 4 +
hw/Makefile.inc | 1 +
hw/fsp/fsp.c | 2 +
hw/imc.c | 11 +
hw/occ-sensor.c | 6 +
hw/occ.c | 25 +-
hw/ultravisor.c | 508 +++++++++++++++++++++++++++++++++++++
include/console.h | 3 +
include/debug_descriptor.h | 1 +
include/mem-map.h | 16 +-
include/platform.h | 1 +
include/processor.h | 12 +
include/ultravisor-api.h | 18 ++
include/ultravisor.h | 56 ++++
include/xscom.h | 11 +-
libstb/trustedboot.c | 1 +
21 files changed, 1120 insertions(+), 11 deletions(-)
create mode 100644 doc/opal-uv-api.rst
create mode 100644 hw/ultravisor.c
create mode 100644 include/ultravisor-api.h
create mode 100644 include/ultravisor.h
--
2.21.0
More information about the Skiboot
mailing list