diff options
| author | Matt Derksen <mderkse1@us.ibm.com> | 2018-02-12 12:11:10 -0600 |
|---|---|---|
| committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2018-02-21 16:28:18 -0500 |
| commit | 80819cf5302b79274276097b59f17e3254ae0099 (patch) | |
| tree | be9cad0874c5ee28e9c36eb6b869f7b542502821 /src/usr/errl/runtime | |
| parent | 1275d064b04f96e767bfbf7b6777b73adf038ed6 (diff) | |
| download | talos-hostboot-80819cf5302b79274276097b59f17e3254ae0099.tar.gz talos-hostboot-80819cf5302b79274276097b59f17e3254ae0099.zip | |
Fix rollover of PLID numbers
Need to avoid incrementing into the processor node
field of the PLID.
Decided to use the highest bit in the last 3 bytes as a dividing bit.
[0x##800000 - 0x##FFFFFF] -- for pre-boot setup errors.
[0x##000000 - 0x##7FFFFF] -- for post setup errors
When setting up from PNOR, we will look for the max EID in the post-setup range.
If no max is found, restart at 0.
Change-Id: I4a8811d9c93039090504ca9cf8c0eebc6812a4ca
CQ:SW416592
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/54362
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: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/errl/runtime')
| -rw-r--r-- | src/usr/errl/runtime/rt_errlmanager.C | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/usr/errl/runtime/rt_errlmanager.C b/src/usr/errl/runtime/rt_errlmanager.C index 4361a691d..10b521a32 100644 --- a/src/usr/errl/runtime/rt_errlmanager.C +++ b/src/usr/errl/runtime/rt_errlmanager.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2013,2017 */ +/* Contributors Listed Below - COPYRIGHT 2013,2018 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -66,6 +66,7 @@ bool rt_processCallout(errlHndl_t &io_errl, /////////////////////////////////////////////////////////////////////////////// ErrlManager::ErrlManager() : iv_currLogId(0), + iv_pnorReadyForErrorLogs(true), iv_pStorage(NULL), iv_hwasProcessCalloutFn(NULL), iv_pnorAddr(NULL), |

