summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaleb Palmer <cnpalmer@us.ibm.com>2020-01-15 09:40:51 -0600
committerZane C Shelley <zshelle@us.ibm.com>2020-01-29 10:00:12 -0600
commit1f4ac83bb5accada77f240c360e9028fb13dd6aa (patch)
tree9ef69ca7dcb5751d0188b2ba3848898742bd9f2e
parent1f76bfa23026029f80774b2e138e60b9f8cb448e (diff)
downloadblackbird-hostboot-1f4ac83bb5accada77f240c360e9028fb13dd6aa.tar.gz
blackbird-hostboot-1f4ac83bb5accada77f240c360e9028fb13dd6aa.zip
PRD: Add check for OCMBs to MemDealloc::dimmList
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>
-rw-r--r--src/usr/diag/prdf/plat/mem/prdfMemDynDealloc.C10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/usr/diag/prdf/plat/mem/prdfMemDynDealloc.C b/src/usr/diag/prdf/plat/mem/prdfMemDynDealloc.C
index 5663d68c2..40653ee09 100644
--- a/src/usr/diag/prdf/plat/mem/prdfMemDynDealloc.C
+++ b/src/usr/diag/prdf/plat/mem/prdfMemDynDealloc.C
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2017,2019 */
+/* Contributors Listed Below - COPYRIGHT 2017,2020 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -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) );
OpenPOWER on IntegriCloud