summaryrefslogtreecommitdiffstats
path: root/src/usr/util
diff options
context:
space:
mode:
authorIlya Smirnov <ismirno@us.ibm.com>2018-02-19 09:28:46 -0600
committerDaniel M. Crowell <dcrowell@us.ibm.com>2018-02-27 14:52:27 -0500
commit299023edd66f5119098c1136b2f2538103aff25f (patch)
tree15f042ce01e7d2e19c70341c9c01cdcd001fec9f /src/usr/util
parentd6d402588868abe6a71b6078a52c99f83f6f7ffb (diff)
downloadtalos-hostboot-299023edd66f5119098c1136b2f2538103aff25f.tar.gz
talos-hostboot-299023edd66f5119098c1136b2f2538103aff25f.zip
Reload OCC and HCODE LIDs in OCC Reload Path
We unload the OCC and HCODE lids during OCC reload code path, which causes their size to be set to 0 in PNOR. However, we don't reload the lids, so the size is never updated in PNOR, and the incorrect size of 0 is reported when OCC tries to restart. The fix is to explicitly reload OCC and HCODE lids before requesting the size from PNOR. Change-Id: Ib0ea6336d8c87ecc8a93d7f55f10acea7c8a13f4 CQ: SW416143 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/54381 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> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/util')
-rw-r--r--src/usr/util/utillidmgr.C3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/usr/util/utillidmgr.C b/src/usr/util/utillidmgr.C
index 81d7f9516..da9b26052 100644
--- a/src/usr/util/utillidmgr.C
+++ b/src/usr/util/utillidmgr.C
@@ -683,7 +683,8 @@ errlHndl_t UtilLidMgr::getStoredLidImage(void*& o_pLidImage,
}
else
{
- if(0 == iv_lidImageSize)
+ errl = updateLid(iv_lidId);
+ if(0 == iv_lidImageSize && errl == nullptr)
{
errl = getLidSize(iv_lidImageSize);
}
OpenPOWER on IntegriCloud