[Skiboot] [PATCH 00/16] assorted fixes and preparation (try again)

Nicholas Piggin npiggin at gmail.com
Mon Apr 27 21:07:57 AEST 2020


Few patches lying around before we try to get skiboot running with
virtual memory and OS services.

Since last posted, I rebased, added a handful more minor things, and
fixed swapped DSISR entries in machine check cause decoder.

Thanks,
Nick

Nicholas Piggin (16):
  libstb/container: Add missing includes
  asm/head.S: QUIESCE_REJECT fix
  move the __this_cpu register to r16, reserve r13-r15
  fast-reboot: add missing clear memory fallback
  fast-reboot: don't back up old vectors upon fast reboot
  fast-reboot: improve fast reboot sequence
  move opal_branch_table, opal_num_args to .rodata section
  skiboot.lds.S: remove dynsym/dynstr and plt
  skiboot.lds.S: introduce PAGE_SIZE, use it to lay out sections
  core: interrupt markers for stack traces
  core/mce: add support for decoding and handling machine checks
  build: -fverbose-asm for .s targets
  hdata: MS AREA endian fix
  platform/blackbird: endian fix
  io: endian annotations and fix
  include/ocmb.h: Add a newline to end of file

 Makefile.main                |  11 +-
 Makefile.rules               |   4 +
 asm/asm-offsets.c            |   3 +-
 asm/head.S                   |  51 ++++----
 asm/misc.S                   |  18 ++-
 core/Makefile.inc            |   2 +-
 core/exceptions.c            |  59 ++++++++-
 core/fast-reboot.c           | 239 ++++++++++++++++++-----------------
 core/init.c                  |  10 +-
 core/mce.c                   | 187 +++++++++++++++++++++++++++
 core/mem_region.c            |  10 +-
 core/opal.c                  |  12 +-
 core/stack.c                 |  11 ++
 hdata/memory.c               |   6 +-
 hw/npu2-opencapi.c           |  12 +-
 include/config.h             |   3 +
 include/cpu.h                |   3 +-
 include/io.h                 |  48 +++----
 include/mem-map.h            |   2 +-
 include/ocmb.h               |   2 +-
 include/processor.h          |   6 +
 include/ras.h                |  47 +++++++
 include/stack.h              |   6 +
 libc/string/memcpy_from_ci.c |   7 +-
 libstb/container.h           |   2 +
 platforms/astbmc/blackbird.c |   2 +-
 skiboot.lds.S                |  32 ++---
 27 files changed, 571 insertions(+), 224 deletions(-)
 create mode 100644 core/mce.c
 create mode 100644 include/ras.h

-- 
2.23.0



More information about the Skiboot mailing list