[Skiboot] [PATCH v2 0/2] BMC dumping

Joel Stanley joel at jms.id.au
Mon May 28 13:55:57 AEST 2018


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.

v2: Address Vasant's review

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.

I've tested this on a romulus system.

Joel Stanley (2):
  debug_descriptor: Claim reserved field for host kernel log buffer
  core: Implement non-FSP dump region opal call

 core/Makefile.inc         |  2 +-
 core/dump-region.c        | 61 +++++++++++++++++++++++++++++++++++++++
 core/init.c               |  4 +++
 include/dump-region.h     | 26 +++++++++++++++++
 include/skiboot.h         |  2 +-
 platforms/astbmc/common.c |  4 +++
 6 files changed, 97 insertions(+), 2 deletions(-)
 create mode 100644 core/dump-region.c
 create mode 100644 include/dump-region.h

-- 
2.17.0



More information about the Skiboot mailing list