summaryrefslogtreecommitdiffstats
path: root/src/usr/runtime/test/testpreverifiedlidmgr.H
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/test/testpreverifiedlidmgr.H
parentb08f9e7eb4a76ed813b0596b4b0eab30070cb3a4 (diff)
downloadtalos-hostboot-022f2d75d80d7ac11abec2e87da76b8691d0498b.tar.gz
talos-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/test/testpreverifiedlidmgr.H')
-rw-r--r--src/usr/runtime/test/testpreverifiedlidmgr.H13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/usr/runtime/test/testpreverifiedlidmgr.H b/src/usr/runtime/test/testpreverifiedlidmgr.H
index 47ba6c61b..78fcbd95c 100644
--- a/src/usr/runtime/test/testpreverifiedlidmgr.H
+++ b/src/usr/runtime/test/testpreverifiedlidmgr.H
@@ -83,6 +83,13 @@ class PreVerifiedLidMgrTest : public CxxTest::TestSuite
// Handle all Pre verified PNOR sections
for (const auto & secIdPair : RUNTIME::preVerifiedPnorSections)
{
+
+ // VERSION is not in standalone so ignore it here.
+ if (secIdPair.first == PNOR::VERSION)
+ {
+ continue;
+ }
+
l_errl = RUNTIME::hbResvLoadSecureSection(secIdPair.first,
secIdPair.second);
if (l_errl)
@@ -110,6 +117,10 @@ class PreVerifiedLidMgrTest : public CxxTest::TestSuite
// RINGOVD not permitted in secure mode. Meaning the Header and
// Content lid will be missing.
l_expectedLids -= 2;
+
+ // VERSION is only an OpenPOWER partition so we need to adjust for
+ // it here since it doesn't exist for standalone.
+ l_expectedLids -= 2;
}
// Ensure the expected number of lids were loaded.
@@ -129,4 +140,4 @@ class PreVerifiedLidMgrTest : public CxxTest::TestSuite
}
};
-#endif \ No newline at end of file
+#endif
OpenPOWER on IntegriCloud