[Skiboot] [RFC PATCH v4 00/16] Ultravisor support in skiboot
Ryan Grimm
grimm at linux.ibm.com
Thu Feb 27 23:20:26 AEDT 2020
Oliver,
I replied to the thread from last month and fixed up a lot of stuff based on
your comments.
We had a question - can we dual license this stuff?
TODOs
1) Fix up ucall to follow hcall convention and provide functions for 4 args and
9 args
2) log XSCOM errors in skiboot
3) local_free unit test
4) replace define for uv_image_size by probing or device tree
5) reserve the region used by uv for mambo and bml
Thanks,
Ryan
Claudio Carvalho (1):
libstb/trustedboot: Map UV image measurement to PCR4
Madhavan Srinivasan (4):
Add memcons support for ultravisor
Add ultra call support for skiboot
xscoms: read/write xscoms using ucall
skiboot/imc: Disable IMC node when UV enabled
Michael Anderson (1):
ultravisor: Pickup wraping key data from mambo
Ryan Grimm (10):
doc/opal-uv-abi.rst
Add functions to initialize and start an ultravisor
Disable protected execution facility
Add uv-entry dt property for starting ultravisor
skiboot.tcl: ultravisor support
hdata/memory.c: Parse HDAT for secure memory
hdata/spira.c: Create ibm,ultravisor dt node
core/mem_region.c: Implement local free
Load the ultravisor from flash and decompress
Add an ultravisor device tree in secure memory
asm/misc.S | 88 ++++++++
core/flash.c | 1 +
core/init.c | 7 +
core/mem_region.c | 32 +++
doc/opal-uv-abi.rst | 425 ++++++++++++++++++++++++++++++++++++
external/mambo/skiboot.tcl | 140 ++++++++++++
hdata/memory.c | 21 +-
hdata/spira.c | 33 +++
hw/Makefile.inc | 2 +-
hw/fsp/fsp.c | 2 +
hw/imc.c | 11 +
hw/ultravisor.c | 209 ++++++++++++++++++
include/console.h | 3 +
include/debug_descriptor.h | 1 +
include/mem-map.h | 16 +-
include/mem_region-malloc.h | 3 +
include/platform.h | 1 +
include/processor.h | 11 +
include/ultravisor.h | 46 ++++
include/xscom.h | 5 +
libstb/trustedboot.c | 1 +
platforms/mambo/uv.c | 39 ++++
22 files changed, 1085 insertions(+), 12 deletions(-)
create mode 100644 doc/opal-uv-abi.rst
create mode 100644 hw/ultravisor.c
create mode 100644 include/ultravisor.h
create mode 100644 platforms/mambo/uv.c
--
2.21.0
More information about the Skiboot
mailing list