diff options
author | William Bryan <wilbryan@us.ibm.com> | 2015-10-02 10:26:02 -0500 |
---|---|---|
committer | William A. Bryan <wilbryan@us.ibm.com> | 2015-10-07 16:11:33 -0500 |
commit | 4cf2e7f9cd54adba2dca1972407bffbfca719b36 (patch) | |
tree | f57e105b5e773a27bdfcbefc6db1401a9091ee02 /src/occ_405/state.c | |
parent | 64ba6727bc31917105528e60950b0b2d2745a15e (diff) | |
download | talos-occ-4cf2e7f9cd54adba2dca1972407bffbfca719b36.tar.gz talos-occ-4cf2e7f9cd54adba2dca1972407bffbfca719b36.zip |
Enable command handler thread and misc cleanup
1. The command handler thread now starts running.
2. Disabled just about all of the command handler functions
so that they can be enabled as they are implemented and needed.
3. Fixed a bug in the linker script where the response buffer is
put in the incorrect offset.
Change-Id: Ia169cb9fef3fd91d5667e636569ada9d83c02b3b
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/20927
Reviewed-by: William A. Bryan <wilbryan@us.ibm.com>
Tested-by: William A. Bryan <wilbryan@us.ibm.com>
Reviewed-by: Wael Elessawy <welessa@us.ibm.com>
Diffstat (limited to 'src/occ_405/state.c')
-rwxr-xr-x | src/occ_405/state.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/occ_405/state.c b/src/occ_405/state.c index 4333195..b987e91 100755 --- a/src/occ_405/state.c +++ b/src/occ_405/state.c @@ -274,14 +274,12 @@ errlHndl_t SMGR_observation_to_active() { if(FALSE == l_error_logged) { -/* TEMP -- UNRESOLVED TRACE ERRORS TRAC_ERR("SMGR: Timeout waiting for Pstates to be enabled, master state=%d, slave state=%d, pmc_mode[%08x], chips_present[%02x], pmc_deconfig[%08x]", //gm034 G_proc_dcm_sync_state.sync_state_master, G_proc_dcm_sync_state.sync_state_slave, in32(PMC_MODE_REG), G_sysConfigData.is_occ_present, in32(PMC_CORE_DECONFIGURATION_REG)); -*/ /* } l_extRc = ERC_GENERIC_TIMEOUT; break; @@ -390,13 +388,12 @@ errlHndl_t SMGR_observation_to_active() // This combined with the hang pulse count and pre-divider yields // about a 2 second timeout pohr.fields.pmc_occ_heartbeat_time = 0xffff; -/* TEMP -- UNRESOLVED TRACE ERROR: "sizeof applied to a bitfield" TRAC_IMP("Configure PMC heartbeat, heartbeat_time=0x%x", pohr.fields.pmc_occ_heartbeat_time); ppr0.fields.hangpulse_predivider = 1; TRAC_IMP("Configure PMC parm reg predivider=%d", ppr0.fields.hangpulse_predivider); -*/ /* + // Write registers twice, known issue with heartbeat reg out32(PMC_OCC_HEARTBEAT_REG, pohr.value); out32(PMC_OCC_HEARTBEAT_REG, pohr.value); |