summaryrefslogtreecommitdiffstats
path: root/src/occ_405/thread
diff options
context:
space:
mode:
authorWael El-Essawy <welessa@us.ibm.com>2016-05-02 22:20:14 -0500
committerWael El-Essawy <welessa@us.ibm.com>2016-05-25 16:19:23 -0400
commit6d29cab23da5bacaf0772bb8dd6265c4b442760c (patch)
treed7dee4b726108c87734bd1508abccf47d1a230e4 /src/occ_405/thread
parent6f82299cb1e306dabef5bbae1a9d4e5817dbcea9 (diff)
downloadtalos-occ-6d29cab23da5bacaf0772bb8dd6265c4b442760c.tar.gz
talos-occ-6d29cab23da5bacaf0772bb8dd6265c4b442760c.zip
Pstate Infrastructure & Support config data required for active state
- Support all config data required for active state. - Set 'active ready' bit in poll response when all config data has been received. - Rewrite & rename proc_gpsm_pstate_initialize() - Delete GPSM, doesn't exist. - Put in TODO call PGPE to enable pstates this will also be telling PGPE how to set PMCR mode register (OCC control pstates or OPAL). - Initialize globals for fmax, fmin, pmax and mhz_per_pstate with temporary hard codes until PGPE is available. - Call to "proc_pstate_initialize()" moved to state transition to observation - Cleanup proc_freq2pstate() - rewrite amec_slv_freq_smh() - the calls to proc_set_core_bounds() and proc_set_core_pstate() will be replaced with 1 IPC call to the PGPE to set pmin/pmax given all cores or set pstate for all given cores. - Remove all DCM related code. Change-Id: I449d188b2cffc345afca19717dcbea037f159114 RTC:130224 RTC:150935 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23977 Tested-by: FSP CI Jenkins Reviewed-by: Wael El-Essawy <welessa@us.ibm.com>
Diffstat (limited to 'src/occ_405/thread')
-rwxr-xr-xsrc/occ_405/thread/chom.c17
1 files changed, 2 insertions, 15 deletions
diff --git a/src/occ_405/thread/chom.c b/src/occ_405/thread/chom.c
index 35e0bf1..ffa652e 100755
--- a/src/occ_405/thread/chom.c
+++ b/src/occ_405/thread/chom.c
@@ -291,21 +291,8 @@ void chom_update_sensors()
{ // update sample, min, max, average sensor data
if (NULL != g_chom_sensor_table[i])
{
- //Report all sensors listed in g_chom_sensor_table, unless
- //we have a Murano (DCM), then we only report the power from the
- //OCC_DCM_MASTER occ. The DCM occ pairs (OCC_DCM_MASTER,OCC_DCM_SLAVE) are
- //((0,1),(2,3),(4,5),(6,7)).
- if( ((i >= CHOMPWRS0) && (i <= CHOMPWRS7)) &&
- (CFAM_CHIP_TYPE_MURANO == cfam_chip_type()) &&
- (((i-CHOMPWRS0) % 2) == 1) )
- {
- //Do nothing
- }
- else
- {
- // directly mapping to mini-sensor
- g_chom->sensorData[0].sensor[i].sample = *g_chom_sensor_table[i];
- }
+ // directly mapping to mini-sensor
+ g_chom->sensorData[0].sensor[i].sample = *g_chom_sensor_table[i];
}
l_sample = g_chom->sensorData[0].sensor[i].sample;
OpenPOWER on IntegriCloud