mbox series

[0/2] BMC dumping

Message ID 20180524013720.1589-1-joel@jms.id.au
Headers show
Series BMC dumping | expand

Message

Joel Stanley May 24, 2018, 1:37 a.m. UTC
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.

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               |  2 ++
 include/dump.h            | 26 +++++++++++++++++
 include/skiboot.h         |  2 +-
 platforms/astbmc/common.c |  4 +++
 6 files changed, 95 insertions(+), 2 deletions(-)
 create mode 100644 core/dump-region.c
 create mode 100644 include/dump.h