From 022f2d75d80d7ac11abec2e87da76b8691d0498b Mon Sep 17 00:00:00 2001 From: Matt Raybuck Date: Thu, 15 Nov 2018 09:45:07 -0600 Subject: 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 Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Reviewed-by: Nicholas E. Bofferding Reviewed-by: Daniel M. Crowell --- src/usr/runtime/common/runtime_utils.C | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/usr/runtime/common') diff --git a/src/usr/runtime/common/runtime_utils.C b/src/usr/runtime/common/runtime_utils.C index d87847f85..ba15de167 100644 --- a/src/usr/runtime/common/runtime_utils.C +++ b/src/usr/runtime/common/runtime_utils.C @@ -37,6 +37,7 @@ const PreVerifyVector preVerifiedPnorSections { {PNOR::OCC, true}, {PNOR::WOFDATA, true}, {PNOR::HCODE, true}, + {PNOR::VERSION, true}, {PNOR::RINGOVD, false}, }; @@ -76,4 +77,4 @@ bool isPreVerifiedSectionSecure(const PNOR::SectionId i_section) return l_result; } -} \ No newline at end of file +} -- cgit v1.2.3