summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarty Gloff <mgloff@us.ibm.com>2016-11-29 14:49:14 -0600
committerDaniel M. Crowell <dcrowell@us.ibm.com>2016-12-13 16:52:25 -0500
commit897f9ae61308c6e8c685ac2e8a9e55d1229e6381 (patch)
treeb3d4912c798e9983c67c3d8cf2251527d4e8a38b /src
parenteb64e33f992c8688b137f589703eb10fadfb0c7c (diff)
downloadblackbird-hostboot-897f9ae61308c6e8c685ac2e8a9e55d1229e6381.tar.gz
blackbird-hostboot-897f9ae61308c6e8c685ac2e8a9e55d1229e6381.zip
RC_INCORRECT_KEWORD_SIZE on zzfp018
Fix a bug in translating the master core into an LRP number. Change to treating LRP records as per-EQ from treating them as per-EC records. Change-Id: I0502d68dceeac6afe20d9304c4537415ce2fd813 CQ:SW372715 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/33141 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: Matt Derksen <v2cibmd@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src')
-rw-r--r--src/usr/isteps/istep06/thread_activate/thread_activate.C32
1 files changed, 25 insertions, 7 deletions
diff --git a/src/usr/isteps/istep06/thread_activate/thread_activate.C b/src/usr/isteps/istep06/thread_activate/thread_activate.C
index ec5b6aa80..e94a73063 100644
--- a/src/usr/isteps/istep06/thread_activate/thread_activate.C
+++ b/src/usr/isteps/istep06/thread_activate/thread_activate.C
@@ -83,7 +83,7 @@ bool getCacheDeconfig(uint64_t i_masterCoreId)
i_masterCoreId);
//CH Keyword in LPRx Record of MVPD contains the Cache Deconfig State
- //the x in LPRx is the core number.
+ //the x in LPRx is the EQ number.
errlHndl_t l_errl = NULL;
bool cacheDeconfig = true;
uint64_t theRecord = 0x0;
@@ -101,22 +101,40 @@ bool getCacheDeconfig(uint64_t i_masterCoreId)
//TODO: use a common utility function for conversion. RTC: 60552
switch (i_masterCoreId)
{
- case 0x0:
+ case 0x00:
+ case 0x01:
+ case 0x02:
+ case 0x03:
theRecord = MVPD::LRP0;
break;
- case 0x1:
+ case 0x04:
+ case 0x05:
+ case 0x06:
+ case 0x07:
theRecord = MVPD::LRP1;
break;
- case 0x2:
+ case 0x08:
+ case 0x09:
+ case 0x0A:
+ case 0x0B:
theRecord = MVPD::LRP2;
break;
- case 0x3:
+ case 0x0C:
+ case 0x0D:
+ case 0x0E:
+ case 0x0F:
theRecord = MVPD::LRP3;
break;
- case 0x4:
+ case 0x10:
+ case 0x11:
+ case 0x12:
+ case 0x13:
theRecord = MVPD::LRP4;
break;
- case 0x5:
+ case 0x14:
+ case 0x15:
+ case 0x16:
+ case 0x17:
theRecord = MVPD::LRP5;
break;
default:
OpenPOWER on IntegriCloud