Skip to content

Commit

Permalink
Fix getting all OCMBs for mss_scrub
Browse files Browse the repository at this point in the history
Change-Id: Ic752c314873357e6baf8fa803a94b7dd38f8bd4f
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/93286
Reviewed-by: Daniel M Crowell <dcrowell@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Zane C Shelley <zshelle@us.ibm.com>
  • Loading branch information
cnpalmer authored and zane131 committed Mar 13, 2020
1 parent 7e9fe96 commit 1b10af0
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/usr/isteps/istep16/call_mss_scrub.C
Expand Up @@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
/* Contributors Listed Below - COPYRIGHT 2015,2019 */
/* Contributors Listed Below - COPYRIGHT 2015,2020 */
/* [+] International Business Machines Corp. */
/* */
/* */
Expand Down Expand Up @@ -102,7 +102,15 @@ void* call_mss_scrub (void *io_pArgs)
if ( nullptr != errl ) break;

// Start background scrubbing on all targets of this maintenance type.
TargetHandleList maintList; getAllChiplets( maintList, maintTrgtType );
TargetHandleList maintList;
if ( TYPE_OCMB_CHIP == maintTrgtType )
{
getAllChips( maintList, maintTrgtType );
}
else
{
getAllChiplets( maintList, maintTrgtType );
}
for ( auto & maintTrgt : maintList )
{
bool start = true; // initially true except for MP-IPL conditions.
Expand Down

0 comments on commit 1b10af0

Please sign in to comment.