Skip to content

Commit

Permalink
temporary fix for sw399904
Browse files Browse the repository at this point in the history
Change-Id: I369d5543c93150545de0dc05bb39f7f41b077208
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/45584
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Martha Broyles <mbroyles@us.ibm.com>
Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com>
  • Loading branch information
Sooraj Nair authored and cjcain committed Sep 6, 2017
1 parent 4b775f5 commit 6f77ee7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/occ_gpe1/gpe1_24x7.c
Expand Up @@ -86,6 +86,7 @@ void gpe_24x7(ipc_msg_t* cmd, void* arg)
static volatile uint64_t* L_mode = (uint64_t*) (CNTL_MODE_OFFSET | PBA_ENABLE);
//
static volatile uint64_t* L_tics_exceded = (uint64_t*) (DBG_TICS_OFFSET | PBA_ENABLE);
static volatile uint64_t* L_marker = (uint64_t*) (DBG_MARK | PBA_ENABLE);
args->error.error = 0; // default success
args->error.ffdc = 0;

Expand Down Expand Up @@ -173,6 +174,10 @@ void gpe_24x7(ipc_msg_t* cmd, void* arg)
L_configure = true;
L_cur_speed = *L_speed;
G_CUR_UAV = *L_uav;
//SW399904 patch until HWP output for UAV is debugged.
G_CUR_UAV = CNTL_UAV_TEMP;
*L_marker = MARKER;
//
set_speed(&L_cur_speed,&L_CUR_DELAY,L_status);
//set the state to 1 if reconfig is required. config scoms are split across multiple states starting from 1.
L_current_state = 1;
Expand Down
2 changes: 2 additions & 0 deletions src/occ_gpe1/gpe1_24x7.h
Expand Up @@ -408,6 +408,7 @@ enum
DBG_GRP_OFFSET = 0x001BFC50,
DBG_UNIT_OFFSET = 0x001BFC58,
DBG_TICS_OFFSET = 0x001BFC60,
DBG_MARK = 0x001BFC68,
//////////////////////////////////////////////////
//cntl status values
CNTL_STATUS_INIT = 0x0,
Expand Down Expand Up @@ -436,6 +437,7 @@ enum
//cntl cmd uav temp
//CNTL_UAV_TEMP = 0xFFFF807000000000,
CNTL_UAV_TEMP = 0x8000007000000000,
MARKER = 0xCAFEBABEFA11DEAD,
//cntl block modes
CNTL_MODE_MONITOR = 0x0
};
Expand Down

0 comments on commit 6f77ee7

Please sign in to comment.