[Skiboot] [PATCH 0/2] BMC dumping
joel at jms.id.au
Thu May 24 11:37:18 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.
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
More information about the Skiboot