diff options
author | Matt Spinler <spinler@us.ibm.com> | 2020-01-24 11:05:20 -0600 |
---|---|---|
committer | Matt Spinler <spinler@us.ibm.com> | 2020-02-14 19:15:42 +0000 |
commit | 19e729013197be8ba7faccd88004043ac1e7e27f (patch) | |
tree | e79843df36fa1ab5de5a0f59c44003f649f86259 /extensions/openpower-pels/repository.hpp | |
parent | e95fd0154e723813f5d7bf981e97b7ca6f28f7ef (diff) | |
download | phosphor-logging-19e729013197be8ba7faccd88004043ac1e7e27f.tar.gz phosphor-logging-19e729013197be8ba7faccd88004043ac1e7e27f.zip |
PEL: Add PELs from ESELs
When the OpenPower host firmware subsystem hostboot creates PELs, those
PELs get added to OpenBMC event logs in the ESEL entry of the
AdditionalData property. (Eventually hostboot will update their code to
use PLDM to send down PELs.)
This commit looks for that ESEL keyword on incoming event logs, extracts
the PEL data, and adds it to the PEL repository with all of the other
PELs.
It extracts the PEL data by converting the string value to a vector of
uint8_ts starting after the IPMI data fields contained in that string.
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I2b7f2915dceb9c306466b8181cae05a3ddd65057
Diffstat (limited to 'extensions/openpower-pels/repository.hpp')
0 files changed, 0 insertions, 0 deletions