Skip to content

Commit

Permalink
PRD: Fix lane repair FFDC for XBUS clock 1 domain
Browse files Browse the repository at this point in the history
Change-Id: I8364b821e5273d1aac306bf46fcc4be64556da1e
CQ: SW445410
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66074
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Benjamin J. Weisenbeck <bweisenb@us.ibm.com>
Reviewed-by: Caleb N. Palmer <cnpalmer@us.ibm.com>
Reviewed-by: Brian J. Stegmiller <bjs@us.ibm.com>
Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com>
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66169
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66227
  • Loading branch information
zane131 committed Sep 17, 2018
1 parent c39be44 commit bc25f5c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/usr/diag/prdf/common/plat/p9/prdfLaneRepair.C
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,9 @@ int32_t handleLaneRepairEvent( ExtensibleChip * i_chip,
}

// Add newly failed lanes to capture data
for ( auto & lane : rx_lanes[i] )
for ( auto lane : rx_lanes[i] )
{
lane += i * 16; // Adjust for multiple clock groups (XBUS only).
if (lane < 64)
l_newLaneMap0to63.setBit(lane);
else if (lane < 128)
Expand Down Expand Up @@ -173,8 +174,10 @@ int32_t handleLaneRepairEvent( ExtensibleChip * i_chip,
}

// Add VPD lanes to capture data
for ( auto & lane : rx_vpdLanes[i] )
for ( auto lane : rx_vpdLanes[i] )
{
lane += i * 16; // Adjust for multiple clock groups (XBUS
// only).
if (lane < 64)
l_vpdLaneMap0to63.setBit(lane);
else if (lane < 128)
Expand Down

0 comments on commit bc25f5c

Please sign in to comment.