diff options
author | Zane Shelley <zshelle@us.ibm.com> | 2013-04-27 22:53:06 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2013-11-13 15:48:10 -0600 |
commit | 7923c2eb2f3085db7b0a247b5550b16539cef531 (patch) | |
tree | 5cb8f921ea00f715bd2156a7c6decb8dd643f060 /src/include/usr/diag | |
parent | cbb9792016e609296784784d604553f7fdd936bb (diff) | |
download | talos-hostboot-7923c2eb2f3085db7b0a247b5550b16539cef531.tar.gz talos-hostboot-7923c2eb2f3085db7b0a247b5550b16539cef531.zip |
PRD: StartScrub support
Change-Id: I8bfa845424c4ff12606d543137dc2ea9a6651cf6
RTC: 22863
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/4249
Reviewed-by: Zane Shelley <zshelle@us.ibm.com>
Tested-by: Jenkins Server
Squashed: I88bd0f77607e83a6427d57c9a4950ca879408525
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/7214
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/usr/diag')
-rwxr-xr-x | src/include/usr/diag/prdf/common/prdf_service_codes.H | 1 | ||||
-rw-r--r-- | src/include/usr/diag/prdf/prdfMain.H | 12 |
2 files changed, 13 insertions, 0 deletions
diff --git a/src/include/usr/diag/prdf/common/prdf_service_codes.H b/src/include/usr/diag/prdf/common/prdf_service_codes.H index 1656b56a2..bc8e8b04a 100755 --- a/src/include/usr/diag/prdf/common/prdf_service_codes.H +++ b/src/include/usr/diag/prdf/common/prdf_service_codes.H @@ -61,6 +61,7 @@ enum ModuleId PRDF_RAS_SERVICES = 0x0B, PRDF_RESTORE_DRAM_REPAIR = 0x0C, PRDF_MNFG_IPL_CE_ANALYSIS = 0x0D, + PRDF_START_SCRUB = 0x0E, }; /******************************************************************************/ diff --git a/src/include/usr/diag/prdf/prdfMain.H b/src/include/usr/diag/prdf/prdfMain.H index 17a8ef65e..93203a1ac 100644 --- a/src/include/usr/diag/prdf/prdfMain.H +++ b/src/include/usr/diag/prdf/prdfMain.H @@ -59,6 +59,18 @@ extern int32_t restoreDramRepairs( const TARGETING::TargetHandle_t i_mba ); extern int32_t analyzeIplCEStats( const TARGETING::TargetHandle_t i_mba, bool &o_calloutMade ); +/** + * @brief Starts memory background scrubbing on all MBAs in the node. + * + * This will only start the initial fast scrub of all memory. PRD on the FSP or + * HostServices (SP-less machines) will need to resume normal background + * scrubbing once this initial fast scrub is complete. + * + * @return If an error log is returned, then some internal function failed. See + * the FFDC in the error log for failure details. + */ +extern errlHndl_t startScrub(); + } // end namespace PRDF #endif // __prdfMain_H |