[Skiboot] [RFC PATCH 0/9] OPAL V4

Nicholas Piggin npiggin at gmail.com
Sat May 2 21:36:40 AEST 2020


This implements "OPAL V4". I posted Linux patches and wrote up an
intro here

  https://lists.ozlabs.org/pipermail/linuxppc-dev/2020-May/210032.html

This require a about 20 previous patches that I've posted over the
past couple of weeks, some with slight changes, so don't try to
apply them. Anyone interested ping me offline and I can put up a git
tree somewhere.

I didn't want to repost a vast series when it's really these last
few that are the interesting ones.

Forgive the lack of opal-api docs for now, I've been chopping and
changing things a bit, I'll do them at some point soon.

Next features in the pipe are a machine check driver and cpu idle
driver for OPAL, but I'll stop at this point so it's more digestable.

Thanks,
Nick

Nicholas Piggin (9):
  Build skiboot little-endian by default
  Add OPAL_SYM_TO_ADDR and OPAL_ADDR_TO_SYM
  Add OPAL_REPORT_TRAP interface
  opal: provide a "raw" console mode
  Add OPAL_FIND_VM_AREA
  OPAL V4 calling convention
  Runtime virtual memory for OPAL V4
  OPAL V4: initial OS-operations (traps, printf)
  OPAL V4: local vm_map/unmap operations

 Makefile                                |  12 +-
 core/console-log.c                      |   9 ++
 core/console.c                          |  94 ++++++++++--
 core/cpu.c                              |   9 +-
 core/fast-reboot.c                      |   7 +-
 core/init.c                             |   4 +-
 core/mem_region.c                       |  35 +++--
 core/opal.c                             | 182 +++++++++++++++++++++++-
 core/utils.c                            | 124 +++++++++++++++-
 core/vm.c                               | 122 ++++++++++++++--
 doc/opal-api/opal-get-symbol-181.rst    |  42 ++++++
 doc/opal-api/opal-lookup-symbol-182.rst |  35 +++++
 hw/lpc-uart.c                           |  83 +++++++++++
 include/config.h                        |   1 +
 include/console.h                       |   3 +
 include/cpu.h                           |  10 ++
 include/mem_region.h                    |   1 +
 include/opal-api.h                      |  30 +++-
 include/opal-internal.h                 |  13 ++
 include/skiboot.h                       |   1 +
 platforms/mambo/console.c               |  60 ++++++++
 21 files changed, 820 insertions(+), 57 deletions(-)
 create mode 100644 doc/opal-api/opal-get-symbol-181.rst
 create mode 100644 doc/opal-api/opal-lookup-symbol-182.rst

-- 
2.23.0



More information about the Skiboot mailing list