From a8a2c3a4f7e8f55d6055c52185cc5d5440bbdfe2 Mon Sep 17 00:00:00 2001 From: Chris Cain Date: Mon, 4 Jun 2018 11:39:44 -0500 Subject: 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 Reviewed-by: Martha Broyles Reviewed-by: Andres A. Lugo-Reyes Reviewed-by: Christopher J. Cain --- src/occ_405/amec/amec_health.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'src/occ_405/amec/amec_health.c') 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]) -- cgit v1.2.1