[Skiboot] [PATCH V3 0/6] opal/errorlog : Generalize errorlog read/write routines and adds write to host support for BMC systems
Mukesh Ojha
mukesh02 at linux.vnet.ibm.com
Mon Jun 13 06:49:54 AEST 2016
Improve current errorlog infrastructure by splitting existing FSP specific
errorlog read/write routines into common and hardware(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 and resend pending logs.
Patch 1 does function movement related to write to host path.
Patch 2 does some modification related to alignment, typo mistakes and
upper-lower case issues etc.
Patch 3 resolves the bug of not clearing the variable OPAL_EVENT_ERROR_LOG_AVAIL
properly.
Patch 4 does movement of opal registration of callbacks from fsp-elog-read.c
to generic core/elog-host.c. Detailed described in the individual patch.
Patch 5 Introduces the reference count field in errorlog structure and addition
of put_elog, get_log routine, which will be used in later patch.
Patch 6 adds the support of errorlog write to the host for BMC systems
using generic framework.
Mukesh Ojha (6):
opal/errorlog : Generalize the errorlog write path to host
opal/errorlog : Modification as per coding guidelines to make the code
more legible
opal/errorlog : Properly raising/clearing the event variable
OPAL_EVENT_ERROR_LOG_AVAIL
opal/errorlog : Generalize the errorlog read path
Introduces get and put elog routine and reference count field in elog
structure
opal/errorlog : Enables errorlog write to host on BMC systems
core/Makefile.inc | 1 +
core/elog-host.c | 257 ++++++++++++++++++++++++++++++++++++++++++++
core/errorlog.c | 30 +++++-
hw/fsp/fsp-elog-read.c | 159 +++++++++++----------------
hw/fsp/fsp-elog-write.c | 248 +++++++-----------------------------------
hw/ipmi/ipmi-sel.c | 17 ++-
include/errorlog.h | 22 +++-
include/fsp-elog.h | 29 ++---
include/platform.h | 23 ++++
platforms/astbmc/common.c | 6 +-
platforms/ibm-fsp/apollo.c | 5 +
platforms/ibm-fsp/common.c | 6 +-
platforms/ibm-fsp/firenze.c | 7 +-
13 files changed, 474 insertions(+), 336 deletions(-)
create mode 100644 core/elog-host.c
--
2.1.4
More information about the Skiboot
mailing list