Skip to content

Commit

Permalink
Fix setting plid to the lastest one available at hbrt start
Browse files Browse the repository at this point in the history
Had a bad check in code which caused all runtime errors
to restart at 0x90000001.  Need to mask off the first byte of
found plid to compare against ERRLOG_PLID_POST_MAX.

Change-Id: I34ab5b021270a22141415eb9d17682b59c393624
CQ:SW420777
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/55658
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: Brian E. Bakke <bbakke@us.ibm.com>
Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
  • Loading branch information
mderkse1 authored and dcrowell77 committed Mar 13, 2018
1 parent eb7c0e1 commit 75c7aea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/usr/errl/errlmanager_common.C
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,8 @@ void ErrlManager::setupPnorInfo()
}
// if this is 'my' type of plid (HB or HBRT) see if it's max
if (((l_id & FIRST_BYTE_ERRLOG) == ERRLOG_PLID_BASE ) &&
(l_id > l_maxId ) && (l_id <= ERRLOG_PLID_POST_MAX))
(l_id > l_maxId ) &&
((l_id & ERRLOG_PLID_MASK) <= ERRLOG_PLID_POST_MAX))
{
l_maxId = l_id;

Expand Down

0 comments on commit 75c7aea

Please sign in to comment.