mbox series

[RFC,v5,00/16] Ultravisor support in skiboot

Message ID 20200227204023.22125-1-grimm@linux.ibm.com
Headers show
Series Ultravisor support in skiboot | expand

Message

Ryan Grimm Feb. 27, 2020, 8:40 p.m. UTC
Oliver,

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

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         | 423 ++++++++++++++++++++++++++++++++++++
 external/mambo/skiboot.tcl  | 143 ++++++++++++
 hdata/memory.c              |  21 +-
 hdata/spira.c               |  33 +++
 hw/Makefile.inc             |   2 +-
 hw/fsp/fsp.c                |   2 +
 hw/imc.c                    |  11 +
 hw/ultravisor.c             | 210 ++++++++++++++++++
 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, 1087 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