Skip to content

Commit

Permalink
PRD: Add check for OCMBs to MemDealloc::dimmList
Browse files Browse the repository at this point in the history
Change-Id: I5b78c3363e54d76f5f96e8fda4d085ebb3be23ee
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/89691
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Benjamen G Tyner <ben.tyner@ibm.com>
Reviewed-by: Zane C Shelley <zshelle@us.ibm.com>
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/90485
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 Jan 29, 2020
1 parent 1f76bfa commit 1f4ac83
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/usr/diag/prdf/plat/mem/prdfMemDynDealloc.C
Expand Up @@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
/* Contributors Listed Below - COPYRIGHT 2017,2019 */
/* Contributors Listed Below - COPYRIGHT 2017,2020 */
/* [+] International Business Machines Corp. */
/* */
/* */
Expand Down Expand Up @@ -1740,6 +1740,14 @@ int32_t dimmList( TargetHandleList & i_dimmList )
break;
}

// Third, check for OCMBs.
list = getConnected( dimmTrgt, TYPE_OCMB_CHIP );
if ( !list.empty() )
{
o_rc = dimmList<TYPE_OCMB_CHIP>( i_dimmList );
break;
}

// If we get here we did not find a supported target.
PRDF_ERR( PRDF_FUNC "Unsupported connected parent to dimm 0x%08x",
getHuid(dimmTrgt) );
Expand Down

0 comments on commit 1f4ac83

Please sign in to comment.