summaryrefslogtreecommitdiffstats
path: root/src/usr/runtime/populate_hbruntime.C
diff options
context:
space:
mode:
authorMatt Raybuck <mraybuc@us.ibm.com>2018-11-15 09:45:07 -0600
committerDaniel M. Crowell <dcrowell@us.ibm.com>2018-11-27 13:47:16 -0600
commit022f2d75d80d7ac11abec2e87da76b8691d0498b (patch)
tree6df0d37f51e0a2f2a55eb9a987e1ed07530dc8ea /src/usr/runtime/populate_hbruntime.C
parentb08f9e7eb4a76ed813b0596b4b0eab30070cb3a4 (diff)
downloadblackbird-hostboot-022f2d75d80d7ac11abec2e87da76b8691d0498b.tar.gz
blackbird-hostboot-022f2d75d80d7ac11abec2e87da76b8691d0498b.zip
Add VERSION to all OpenPOWER HBRT error logs
Now that the VERSION partition is a secure section, in order to have the version info in all runtime error logs the VERSION section has been put into reserved memory which can then be loaded and added to all HBRT OpenPOWER error logs. Change-Id: Iaf74d19270f8221710f30834097e131f4dadeeba RTC:200439 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/68855 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: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/runtime/populate_hbruntime.C')
-rw-r--r--src/usr/runtime/populate_hbruntime.C7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/usr/runtime/populate_hbruntime.C b/src/usr/runtime/populate_hbruntime.C
index 5c0596f35..db32eef40 100644
--- a/src/usr/runtime/populate_hbruntime.C
+++ b/src/usr/runtime/populate_hbruntime.C
@@ -1658,6 +1658,13 @@ errlHndl_t populate_HbRsvMem(uint64_t i_nodeId, bool i_master_node)
continue;
}
+ // Skip VERSION section for non-BMC based systems.
+ if ((secIdPair.first == PNOR::VERSION)
+ && INITSERVICE::spBaseServicesEnabled())
+ {
+ continue;
+ }
+
l_elog = hbResvLoadSecureSection(secIdPair.first,
secIdPair.second);
if (l_elog)
OpenPOWER on IntegriCloud