mbox series

[v3,0/3] BMC dumping

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

Message

Joel Stanley May 31, 2018, 4:29 a.m. UTC
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