Skip to content

Commit

Permalink
eRepair: Fix to check and record unique incoming failed lanes
Browse files Browse the repository at this point in the history
- Check for all incoming failed lanes and match it up with
  failed lanes records already available in vpd to get unique
  set of failed lanes and then perform threshold check.

Change-Id: Iad249a4d33da765b838f2199271930a7b6a1c10d
CQ: SW444730
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/65445
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/65448
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
  • Loading branch information
sumitk56 authored and crgeddes committed Sep 7, 2018
1 parent 6a6d637 commit a6ceb53
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -886,13 +886,6 @@ fapi2::ReturnCode erepairSetFailedLanes(

FAPI_INF("Threshold:%d ModeIPL:%d \n", l_threshold, l_mnfgModeIPL);

// Check if the new fails have crossed the threshold
if(i_failLanes.size() > l_threshold)
{
o_thresholdExceed = true;
goto fapi_try_exit;
}

// Get existing fail lanes that are in the VPD of rx endpoint
FAPI_TRY( l_getLanes_target_J(
i_rxEndp_target,
Expand Down

0 comments on commit a6ceb53

Please sign in to comment.