summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorMatt Raybuck <mraybuc@us.ibm.com>2018-08-28 10:08:52 -0500
committerWilliam G. Hoffa <wghoffa@us.ibm.com>2018-09-07 08:45:10 -0500
commit30603769812267f6c947357fce6a6edff50e27d2 (patch)
tree430381b6924218cd40289b68d6467b9df8c22160 /src/include
parente867f7fa67bedd7c1d19a4b11c781bb70bdb3daf (diff)
downloadtalos-hostboot-30603769812267f6c947357fce6a6edff50e27d2.tar.gz
talos-hostboot-30603769812267f6c947357fce6a6edff50e27d2.zip
Add VERSION to all OpenPOWER error logs
When an error log is created for OpenPOWER systems it didn't contain the VERSION info within it. This commit adds a function called AddVersionInfo() that appends the VERSION info to every error log for OpenPOWER. Change-Id: Ic259e10e942f6df0675055823e4945ef9696b659 RTC: 196794 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/65506 Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: ILYA SMIRNOV <ismirno@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/usr/errl/errlentry.H8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/include/usr/errl/errlentry.H b/src/include/usr/errl/errlentry.H
index 6ac856237..4ee5f0ebf 100644
--- a/src/include/usr/errl/errlentry.H
+++ b/src/include/usr/errl/errlentry.H
@@ -848,6 +848,14 @@ private:
*/
void addHbBuildId();
+ /**
+ * @brief Called by commit(), this function creates a user details section
+ * which contains the version info for each of the fw components in an
+ * OpenPOWER System and adds it to the current error log being processed.
+ * Note: This function only executes on a BMC based system.
+ */
+ void addVersionInfo(void);
+
#ifdef CONFIG_BMC_IPMI
/**
* @brief called by addHwCallout to retrieve the serial and part number
OpenPOWER on IntegriCloud