[Skiboot] [PATCH 0/4] better asserts

Nicholas Piggin npiggin at gmail.com
Wed Sep 25 11:01:32 AEST 2019


This makes debugging boot failures nicer.

Thanks,
Nick

Nicholas Piggin (4):
  core/exceptions.c: rearrange code to allow more interrupt types
  trap based assertions
  branch-to-NULL assert for ELFv2 ABI
  core/exceptions.c: do not include handler code in exception backtrace

 asm/head.S            |  2 ++
 core/exceptions.c     | 56 ++++++++++++++++++++++++++++++++++++-------
 core/fast-reboot.c    |  1 +
 core/init.c           | 50 ++++++++++++++++++++++++++++++++------
 core/platform.c       |  6 ++++-
 core/stack.c          | 30 +++++++++++++++++++----
 core/utils.c          | 19 ++++-----------
 include/processor.h   |  3 +++
 include/skiboot.h     |  3 +++
 include/stack.h       |  3 +++
 libc/include/assert.h | 44 +++++++++++++++++++++++++++-------
 libc/include/stdlib.h |  7 +-----
 skiboot.lds.S         |  7 ++++++
 13 files changed, 181 insertions(+), 50 deletions(-)

-- 
2.23.0



More information about the Skiboot mailing list