[Skiboot] [RFC PATCH 0/3] WIP VMM for OPAL boot

Nicholas Piggin npiggin at gmail.com
Wed Jun 5 12:36:13 AEST 2019


This is my current work in progress, I've gradually been adding bits
and fixing bugs so time for another rebase. It's been booting pretty
reliably on my P9, I've next been trying to bring VMM mode back up
when we fast-reboot which is still a bit buggy but almost works.

Nicholas Piggin (3):
  core/exceptions.c: rearrange code to allow more interrupt types
  virtual memory for OPAL boot
  core/vm: try to handle recoverable MCEs by turning off VMM

 core/Makefile.inc    |   2 +-
 core/cpu.c           |  19 +-
 core/exceptions.c    |  82 ++++-
 core/fast-reboot.c   |  30 +-
 core/flash.c         |   4 +-
 core/init.c          | 169 +++++++--
 core/mem_region.c    |  76 ++--
 core/opal.c          |  20 +-
 core/vm.c            | 812 +++++++++++++++++++++++++++++++++++++++++++
 hdata/spira.c        |  21 +-
 hw/fake-nvram.c      |  12 +-
 hw/homer.c           |   5 +
 hw/lpc-uart.c        |  31 +-
 hw/lpc.c             |   2 +
 hw/phb4.c            |   9 +-
 hw/psi.c             |   2 +
 hw/slw.c             |   4 +-
 hw/xive.c            |   5 +
 hw/xscom.c           |   4 +-
 include/cmpxchg.h    |   3 +
 include/cpu.h        |  22 ++
 include/elf-abi.h    |  20 +-
 include/io.h         |  57 ++-
 include/mem_region.h |   1 +
 include/processor.h  |  13 +-
 include/skiboot.h    |  27 ++
 libstb/container.c   |  12 +-
 skiboot.lds.S        |  56 +--
 28 files changed, 1392 insertions(+), 128 deletions(-)
 create mode 100644 core/vm.c

-- 
2.20.1



More information about the Skiboot mailing list