Skip to content

Commit

Permalink
PRD: Remove old domain startScrubs
Browse files Browse the repository at this point in the history
Change-Id: Iaf82c31b9f93e89d4dc5cd24c824622c967230e7
RTC: 205441
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/72722
Tested-by: Jenkins Server <pfd-jenkins+hostboot@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/72887
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
  • Loading branch information
cnpalmer authored and zane131 committed Mar 6, 2019
1 parent 0af9610 commit d94e5b5
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 144 deletions.
11 changes: 2 additions & 9 deletions src/usr/diag/prdf/common/plat/cen/prdfCenMbaDomain.H
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
/* Contributors Listed Below - COPYRIGHT 2016,2018 */
/* Contributors Listed Below - COPYRIGHT 2016,2019 */
/* [+] International Business Machines Corp. */
/* */
/* */
Expand Down Expand Up @@ -62,15 +62,8 @@ class MbaDomain : public RuleChipDomain
*/
void handleRrFo();

#elif defined(__HOSTBOOT_MODULE) // IPL only

/**
* @brief Starts memory background scrubbing for each MBA in the node.
* @param Non-SUCCESS if an internal function failed, SUCCESS otherwise.
*/
int32_t startScrub();

#endif

};

} // end namespace PRDF
Expand Down
79 changes: 0 additions & 79 deletions src/usr/diag/prdf/plat/cen/prdfCenMbaDomain_ipl.C

This file was deleted.

13 changes: 1 addition & 12 deletions src/usr/diag/prdf/plat/cen/prdf_plat_cen_hb_only.mk
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#
# OpenPOWER HostBoot Project
#
# Contributors Listed Below - COPYRIGHT 2016,2018
# Contributors Listed Below - COPYRIGHT 2016,2019
# [+] International Business Machines Corp.
#
#
Expand Down Expand Up @@ -40,17 +40,6 @@ prd_incpath += ${PRD_SRC_PATH}/plat/cen
# plat/cen/ (rule plugin related)
prd_rule_plugin += prdfCenMembuf.o

################################################################################
# Hostboot only object files (IPL only)
################################################################################

ifneq (${HOSTBOOT_RUNTIME},1)

# plat/cen/ (non-rule plugin related)
prd_obj += prdfCenMbaDomain_ipl.o

endif

################################################################################
# Hostboot only object files (runtime only)
################################################################################
Expand Down
34 changes: 1 addition & 33 deletions src/usr/diag/prdf/plat/mem/prdfP9McbistDomain.C
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
/* Contributors Listed Below - COPYRIGHT 2016,2017 */
/* Contributors Listed Below - COPYRIGHT 2016,2019 */
/* [+] International Business Machines Corp. */
/* */
/* */
Expand Down Expand Up @@ -44,38 +44,6 @@ namespace PRDF

using namespace PlatServices;

#ifndef __HOSTBOOT_RUNTIME
int32_t McbistDomain::startScrub()
{
#define PRDF_FUNC "[McbistDomain::startScrub] "

PRDF_ENTER( PRDF_FUNC );

int32_t o_rc = SUCCESS;

// Iterate all MCBISTs in the domain.
for ( uint32_t i = 0; i < GetSize(); ++i )
{
RuleChip * mcbistChip = LookUp(i);

// Start background scrub
int32_t l_rc = PRDF::startInitialBgScrub<TYPE_MCBIST>(mcbistChip);
if ( SUCCESS != l_rc )
{
PRDF_ERR( PRDF_FUNC "startInitialBgScrub() failed: "
"MCBIST=0x%08x", mcbistChip->GetId() );
o_rc = FAIL; continue; // Keep going.
}
}

PRDF_EXIT( PRDF_FUNC "prdf: McbistDomain::startScrub exit" );

return o_rc;

#undef PRDF_FUNC
}
#endif

#ifdef __HOSTBOOT_RUNTIME
void McbistDomain::handleRrFo()
{
Expand Down
12 changes: 1 addition & 11 deletions src/usr/diag/prdf/plat/mem/prdfP9McbistDomain.H
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
/* Contributors Listed Below - COPYRIGHT 2016,2017 */
/* Contributors Listed Below - COPYRIGHT 2016,2019 */
/* [+] International Business Machines Corp. */
/* */
/* */
Expand Down Expand Up @@ -64,16 +64,6 @@ class McbistDomain : public RuleChipDomain

#endif

#ifndef __HOSTBOOT_RUNTIME

/**
* @brief Starts memory background scrubbing for all memory.
* @param Non-SUCCESS if an internal function failed, SUCCESS otherwise.
*/
int32_t startScrub();

#endif

};

} // end namespace PRDF
Expand Down

0 comments on commit d94e5b5

Please sign in to comment.