mbox series

[v2,0/2] BMC dumping

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

Message

Joel Stanley May 28, 2018, 3:55 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.

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