[Skiboot] [PATCH 0/3] opal/errorlog : Generalize error log read/write routines and adds error log write to host support for BMC systems

Mukesh Ojha mukesh02 at linux.vnet.ibm.com
Wed Apr 6 21:47:43 AEST 2016


Improve current errorlog infrastructure by splitting existing FSP specific
errorlog read/write routines into common and hw (FSP) specific routines.
This would add errorlog writing to host support for BMC based platforms.

It involves movement of some functions from FSP specific fsp-elog-write.c
and fsp-elog-read.c files to core/elog-host.c .Introduction of platform
hooks for elog info, ack, read, resend pending logs and elog pending.

Patch 1 does function movement related to write to host path. Patch 2 does
movement of opal registration of callbacks from fsp-elog-read.c to generic
core/elog-host.c. Detailed described in the individual patch.

Patch3 adds the support of errorlog write to the host for BMC systems
using generic framework.

Mukesh Ojha (3):
  Generalize the errorlog write path to host
  Generalize the errorlog read path
  Enables errorlog write to host on BMC systems

 core/Makefile.inc           |   1 +
 core/elog-host.c            | 264 ++++++++++++++++++++++++++++++++++++++++++++
 core/errorlog.c             |  46 ++++++--
 hw/fsp/fsp-elog-read.c      | 107 ++++++++----------
 hw/fsp/fsp-elog-write.c     | 182 ++----------------------------
 hw/ipmi/ipmi-sel.c          |  25 +++--
 include/errorlog.h          |  13 ++-
 include/fsp-elog.h          |  15 ++-
 include/platform.h          |  28 +++++
 platforms/astbmc/common.c   |   4 +-
 platforms/ibm-fsp/apollo.c  |   7 +-
 platforms/ibm-fsp/common.c  |   6 +-
 platforms/ibm-fsp/firenze.c |   8 +-
 13 files changed, 440 insertions(+), 266 deletions(-)
 create mode 100644 core/elog-host.c

-- 
2.1.4



More information about the Skiboot mailing list