summaryrefslogtreecommitdiffstats
path: root/src/usr/util/runtime
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/util/runtime
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/util/runtime')
-rw-r--r--src/usr/util/runtime/utillidmgr_rt.C6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/usr/util/runtime/utillidmgr_rt.C b/src/usr/util/runtime/utillidmgr_rt.C
index 8efbb7ffc..ad5a7cd48 100644
--- a/src/usr/util/runtime/utillidmgr_rt.C
+++ b/src/usr/util/runtime/utillidmgr_rt.C
@@ -354,7 +354,8 @@ const uint32_t * UtilLidMgr::getLidList(size_t * o_num)
Util::CUMULUS_HCODE_LIDID,
Util::HCODE_CONTAINER_LIDID,
Util::HWREFIMG_RINGOVD_LIDID,
- Util::TARGETING_BINARY_LIDID
+ Util::TARGETING_BINARY_LIDID,
+ Util::VERSION_LIDID
};
*o_num = sizeof(lidlist)/sizeof(lidlist[0]);
TRACFCOMP(g_trac_hbrt, EXIT_MRK" get_lid_list");
@@ -371,7 +372,8 @@ bool UtilLidMgr::lidInHbResvMem(const uint32_t i_lidId) const
i_lidId == Util::CUMULUS_HCODE_LIDID ||
i_lidId == Util::HCODE_CONTAINER_LIDID ||
i_lidId == Util::HWREFIMG_RINGOVD_LIDID ||
- i_lidId == Util::TARGETING_BINARY_LIDID;
+ i_lidId == Util::TARGETING_BINARY_LIDID ||
+ i_lidId == Util::VERSION_LIDID;
}
//------------------------------------------------------------------------
OpenPOWER on IntegriCloud