diff options
author | Chris Cain <cjcain@us.ibm.com> | 2018-06-04 11:39:44 -0500 |
---|---|---|
committer | Christopher J. Cain <cjcain@us.ibm.com> | 2018-06-14 09:07:50 -0400 |
commit | a8a2c3a4f7e8f55d6055c52185cc5d5440bbdfe2 (patch) | |
tree | cfca5c4f255a258ff7a680be420c354508faf9f2 /src/occ_405/amec/amec_health.c | |
parent | 41f0c2c5e001fc0eb52e6e9d8f68a8d4d9accb88 (diff) | |
download | talos-occ-a8a2c3a4f7e8f55d6055c52185cc5d5440bbdfe2.tar.gz talos-occ-a8a2c3a4f7e8f55d6055c52185cc5d5440bbdfe2.zip |
Fix DIMM callout on temperature timeout
Check all Centaurs for DIMM temperature timeouts
Add DIMM error injection debug command
Add internal flag debug command
RTC: 189531
Change-Id: I1917e6329894991419517338ba38007b8c493f1d
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/60255
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Martha Broyles <mbroyles@us.ibm.com>
Reviewed-by: Andres A. Lugo-Reyes <aalugore@us.ibm.com>
Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com>
Diffstat (limited to 'src/occ_405/amec/amec_health.c')
-rwxr-xr-x | src/occ_405/amec/amec_health.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/occ_405/amec/amec_health.c b/src/occ_405/amec/amec_health.c index b80d043..ce3637a 100755 --- a/src/occ_405/amec/amec_health.c +++ b/src/occ_405/amec/amec_health.c @@ -311,8 +311,17 @@ void amec_health_check_dimm_timeout() break; } + uint8_t l_max_port; // #ports in nimbus/#centaurs in cumulus + if(G_sysConfigData.mem_type == MEM_TYPE_NIMBUS) + { + l_max_port = NUM_DIMM_PORTS; + } + else // MEM_TYPE_CUMULUS + { + l_max_port = MAX_NUM_CENTAURS; + } //iterate across all ports incrementing dimm sensor timers as needed - for(l_port = 0; l_port < NUM_DIMM_PORTS; l_port++) + for(l_port = 0; l_port < l_max_port; l_port++) { //any dimm timers on this port need incrementing? if(!l_need_inc.bytes[l_port]) |