summaryrefslogtreecommitdiffstats
path: root/src/occ_405/cmdh/cmdh_fsp_cmds.c
diff options
context:
space:
mode:
authorWilliam Bryan <wilbryan@us.ibm.com>2016-06-20 16:24:41 -0500
committerWilliam A. Bryan <wilbryan@us.ibm.com>2016-06-29 14:27:02 -0400
commitad4295664e98414db0dcbf0d37fa5bde6dae80ca (patch)
treedd9080bc7c2f8eab147703c8a4e0a4b3833ec58e /src/occ_405/cmdh/cmdh_fsp_cmds.c
parentbe72a02c54979ecee2a57649c6f9dd49ca5f2525 (diff)
downloadtalos-occ-ad4295664e98414db0dcbf0d37fa5bde6dae80ca.tar.gz
talos-occ-ad4295664e98414db0dcbf0d37fa5bde6dae80ca.zip
Fix DIMM temperature error handling for poll response
RTC:155187 Change-Id: I38039dc18de9bfc5b9194f63b3b869bf7c16991f Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26067 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com>
Diffstat (limited to 'src/occ_405/cmdh/cmdh_fsp_cmds.c')
-rwxr-xr-xsrc/occ_405/cmdh/cmdh_fsp_cmds.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/occ_405/cmdh/cmdh_fsp_cmds.c b/src/occ_405/cmdh/cmdh_fsp_cmds.c
index 3b7da38..48d1d5d 100755
--- a/src/occ_405/cmdh/cmdh_fsp_cmds.c
+++ b/src/occ_405/cmdh/cmdh_fsp_cmds.c
@@ -46,6 +46,9 @@
#include "amec_master_smh.h"
#include <proc_data.h>
#include "homer.h"
+#include <centaur_data.h>
+
+extern cent_sensor_flags_t G_dimm_temp_expired_bitmap;
// This table contains tunable parameter information that can be exposed to
// customers (only Master OCC should access/control this table)
@@ -261,7 +264,7 @@ ERRL_RC cmdh_poll_v20(cmdh_fsp_rsp_t * o_rsp_ptr)
l_tempSensorList[l_sensorHeader.count].id = g_amec->proc[0].memctl[l_port].centaur.dimm_temps[l_dimm].temp_sid;
//If a dimm timed out long enough, we should return 0xFFFF for that sensor.
- if (G_dimm_timeout_logged_bitmap.bytes[l_port] & (DIMM_SENSOR0 >> l_dimm))
+ if (G_dimm_temp_expired_bitmap.bytes[l_port] & (DIMM_SENSOR0 >> l_dimm))
{
l_tempSensorList[l_sensorHeader.count].value = 0xFFFF;
}
@@ -300,7 +303,7 @@ ERRL_RC cmdh_poll_v20(cmdh_fsp_rsp_t * o_rsp_ptr)
{
l_tempSensorList[l_sensorHeader.count].id = g_amec->proc[0].memctl[l_cent].centaur.dimm_temps[l_dimm].temp_sid;
//If a dimm timed out long enough, we should return 0xFFFF for that sensor.
- if (G_dimm_timeout_logged_bitmap.bytes[l_cent] & (DIMM_SENSOR0 >> l_dimm))
+ if (G_dimm_temp_expired_bitmap.bytes[l_cent] & (DIMM_SENSOR0 >> l_dimm))
{
l_tempSensorList[l_sensorHeader.count].value = 0xFFFF;
}
OpenPOWER on IntegriCloud