[Skiboot] [PATCH v3 0/3] BMC dumping

Joel Stanley joel at jms.id.au
Thu May 31 14:29:40 AEST 2018


v3: Rewrite to make the opal calls support for all platforms, and allow
platforms to register their own extra functionaltiy. This means we get
debug descriptor stashing on ibm-fsp platforms as well.

These patches enable kernels to register the addresses of their log_buf
pointer with skiboot over the exiting OPAL APIs, which in turn allows
debug tools to discover where the host keeps it's secrets.

The first user of this feature will be the implementation of a 'pdbg
dmesg' command to read out the contents of the host kernel log buffer.


Joel Stanley (3):
  core: Implement generic dump region opal call
  debug_descriptor: Claim reserved field for host kernel log buffer
  dump: Always store kernel log buffer location

 core/Makefile.inc       |  2 +-
 core/dump-region.c      | 49 +++++++++++++++++++++++++++++++++++++++++
 core/init.c             |  4 ++++
 hw/fsp/fsp-mdst-table.c |  8 +++----
 include/platform.h      | 12 ++++++++++
 include/skiboot.h       |  8 +++----
 6 files changed, 73 insertions(+), 10 deletions(-)
 create mode 100644 core/dump-region.c

-- 
2.17.0



More information about the Skiboot mailing list