From bf8d6d1dfc603df78a07f9e413d54dc33be857e6 Mon Sep 17 00:00:00 2001 From: Dan Crowell Date: Mon, 17 Jul 2017 16:03:53 -0500 Subject: [PATCH] Skip RINGOVD completely if we're in secure mode Added a big hammer to skip the RINGOVD logic until we sort out how to best handle lids and pnor sections securely. Change-Id: Ibb78fab8bf7e1546d6f891383ac5d674aa65148d Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43231 Tested-by: Jenkins Server Reviewed-by: Michael Baiocchi Tested-by: Jenkins OP Build CI Reviewed-by: Nicholas E. Bofferding Tested-by: Jenkins OP HW Tested-by: FSP CI Jenkins Reviewed-by: Dean Sanner --- src/usr/isteps/pm/pm_common.C | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/usr/isteps/pm/pm_common.C b/src/usr/isteps/pm/pm_common.C index c7170fbd1c1..f9bdd50c20d 100644 --- a/src/usr/isteps/pm/pm_common.C +++ b/src/usr/isteps/pm/pm_common.C @@ -1072,6 +1072,15 @@ namespace HBPM do { io_overrideImg = nullptr; + //@fixme - RTC:177372 + // Block any use of overrides if we're secure + if( PNOR::isInhibitedSection(PNOR::RINGOVD) ) + { + TRACFCOMP( ISTEPS_TRACE::g_trac_isteps_trace, + "getRingOvd: ignore overrides in secure mode" ); + break; + } + uint32_t l_lidId = Util::HWREFIMG_RINGOVD_LIDID; if(g_pRingOvdLidMgr.get() == nullptr) {