Skip to content

Commit

Permalink
Debug command updates
Browse files Browse the repository at this point in the history
Add voltage droop history counters for call home

Change-Id: Ia859388b49386dc132c9d0407ce831a9fa9ef592
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/63807
Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com>
Reviewed-by: William A. Bryan <wilbryan@us.ibm.com>
Reviewed-by: Martha Broyles <mbroyles@us.ibm.com>
Tested-by: Martha Broyles <mbroyles@us.ibm.com>
  • Loading branch information
marthabroyles committed Aug 8, 2018
1 parent 17d77ae commit 1f0ae69
Show file tree
Hide file tree
Showing 7 changed files with 1,151 additions and 1,175 deletions.
10 changes: 10 additions & 0 deletions src/occ_405/amec/amec_sensors_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -876,6 +876,16 @@ void amec_calc_droop_sensors(CoreData * i_core_data_ptr, uint8_t i_core)

sensor_update( l_core_sensor, l_core_droops);
sensor_update( l_quad_sensor, l_quad_droops);

// Update ERRH counters so it is known voltage droops are happening in call home data
if(l_core_droops)
{
INCREMENT_ERR_HISTORY(ERRH_CORE_SMALL_DROOP);
}
if(l_quad_droops)
{
INCREMENT_ERR_HISTORY(ERRH_CACHE_LARGE_DROOP);
}
}

/*----------------------------------------------------------------------------*/
Expand Down

0 comments on commit 1f0ae69

Please sign in to comment.