diff options
| author | Fadi Kassem <fmkassem@us.ibm.com> | 2015-11-24 12:53:55 -0600 |
|---|---|---|
| committer | Wael Elessawy <welessa@us.ibm.com> | 2015-11-25 11:01:55 -0600 |
| commit | 74ad39e79ccd4d423adea15d82a87fa70ec9b56f (patch) | |
| tree | 3b68128274cd4c0cef4d0f7f5550b14e83c99c41 /src/occ_405/thread | |
| parent | 7e5cdacb586068de60e1d10cb2e04ff7fb737e96 (diff) | |
| download | talos-occ-74ad39e79ccd4d423adea15d82a87fa70ec9b56f.tar.gz talos-occ-74ad39e79ccd4d423adea15d82a87fa70ec9b56f.zip | |
Enable Slave DTS calculation and sensor update.
Change-Id: I0feb572e650322326ce9a6c7b2affd9e58cd6b8d
RTC:140183
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/22303
Reviewed-by: Wael Elessawy <welessa@us.ibm.com>
Tested-by: Wael Elessawy <welessa@us.ibm.com>
Diffstat (limited to 'src/occ_405/thread')
| -rwxr-xr-x | src/occ_405/thread/chom.c | 4 | ||||
| -rwxr-xr-x | src/occ_405/thread/thrm_thread.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/occ_405/thread/chom.c b/src/occ_405/thread/chom.c index b75bda8..35e0bf1 100755 --- a/src/occ_405/thread/chom.c +++ b/src/occ_405/thread/chom.c @@ -238,9 +238,9 @@ void chom_update_sensors() // update chom sensors which has multiple mini-sensor source for (i = 0 ; i<MAX_OCCS ; i++) { - if (G_dcom_slv_outbox_rx[i].temp2msp0peak > l_max_core_temp) + if (G_dcom_slv_outbox_rx[i].temp4msp0peak > l_max_core_temp) { - l_max_core_temp = G_dcom_slv_outbox_rx[i].temp2msp0peak; + l_max_core_temp = G_dcom_slv_outbox_rx[i].temp4msp0peak; } if (G_dcom_slv_outbox_rx[i].temp2mscent > l_max_cent_temp) diff --git a/src/occ_405/thread/thrm_thread.c b/src/occ_405/thread/thrm_thread.c index 853cf0e..c64c30f 100755 --- a/src/occ_405/thread/thrm_thread.c +++ b/src/occ_405/thread/thrm_thread.c @@ -390,7 +390,7 @@ void thrm_thread_main() // Determine if additional cooling is required for processors // For processors, use the hottest of the core averages - l_sensor = getSensorByGsid(TEMP2MSP0PEAK); + l_sensor = getSensorByGsid(TEMP4MSP0PEAK); l_IncreaseFans |= thrm_thread_fan_control(DATA_FRU_PROC, l_sensor->sample); |

