PEL: Update system info into HB PEL extended user data section
Hostboot requested BMC add a UserData section containing debug
information like internal code level name and the bmc/host/chassis
states that are added to the BMC PELs. To accomodate this BMC code will
look in incoming PELs for an ED section with specific
compID/version/subtype fields, and then modify it with the appropriate
debug contents as mentioned above.
Test: Verified PEL tool output by injecting error to generate
hostboot PEL
Signed-off-by: Sumit Kumar <sumit_kumar@in.ibm.com>
Change-Id: I72288089f2768412eb9033b121e7f02f72f11fc7
diff --git a/extensions/openpower-pels/manager.cpp b/extensions/openpower-pels/manager.cpp
index ef7c789..80687a9 100644
--- a/extensions/openpower-pels/manager.cpp
+++ b/extensions/openpower-pels/manager.cpp
@@ -134,6 +134,9 @@
pel->assignID();
pel->setCommitTime();
+ // Update System Info to Extended User Data
+ pel->updateSysInfoInExtendedUserDataSection(*_dataIface);
+
try
{
log<level::DEBUG>(