Skip to content

Commit

Permalink
PRD: Dyn mem dealloc fix getting ocmb channel pos
Browse files Browse the repository at this point in the history
Change-Id: I6b91ccbf8f30c9978a3db46f209965afd6fe1880
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/93631
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Benjamen G Tyner <ben.tyner@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/93714
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>
  • Loading branch information
cnpalmer authored and zane131 committed Mar 20, 2020
1 parent 004dbba commit e8491f3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/usr/diag/prdf/plat/mem/prdfMemDynDealloc.C
Expand Up @@ -1118,7 +1118,8 @@ uint32_t __insertGrpId<TYPE_OCMB_CHIP>( ExtensibleChip * i_chip,
// subchannel select bit.
if ( bothSubChansEnabled )
{
uint8_t ocmbChnl = i_chip->getPos() % MAX_OCMB_PER_MCC; // 0:1
TargetHandle_t omi = getConnectedParent( i_chip->getTrgt(), TYPE_OMI );
uint8_t ocmbChnl = getTargetPosition(omi) % MAX_OMI_PER_MCC; // 0:1
uint8_t bitInsert = 0;

switch ( i_grpChnls )
Expand Down

0 comments on commit e8491f3

Please sign in to comment.