summaryrefslogtreecommitdiffstats
path: root/src/usr/diag/prdf/plat/prdfPlatServices.H
diff options
context:
space:
mode:
authorZane Shelley <zshelle@us.ibm.com>2016-09-14 09:44:39 -0500
committerZane C. Shelley <zshelle@us.ibm.com>2016-12-14 17:03:39 -0500
commitd33069736be1176bb3c9e8136dca7673cbcc32e1 (patch)
treebc20641c3bb6fd46da3ab21a6919695e6a3963de /src/usr/diag/prdf/plat/prdfPlatServices.H
parentc016c67ab2a6389a51ffbbef171abb9faf81e0e4 (diff)
downloadtalos-hostboot-d33069736be1176bb3c9e8136dca7673cbcc32e1.tar.gz
talos-hostboot-d33069736be1176bb3c9e8136dca7673cbcc32e1.zip
PRD: enabled super fast read and targeted scrub commands
Change-Id: Ia5b6fb14cdfcb8a04f49846d346ced8e2ba4719e RTC: 159778 CMVC-Prereq: 1012603 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/32560 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Caleb N. Palmer <cnpalmer@us.ibm.com> Reviewed-by: Benjamin J. Weisenbeck <bweisenb@us.ibm.com> Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/33080 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Diffstat (limited to 'src/usr/diag/prdf/plat/prdfPlatServices.H')
-rw-r--r--src/usr/diag/prdf/plat/prdfPlatServices.H36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/usr/diag/prdf/plat/prdfPlatServices.H b/src/usr/diag/prdf/plat/prdfPlatServices.H
index 6b611b89b..e7377ccf1 100644
--- a/src/usr/diag/prdf/plat/prdfPlatServices.H
+++ b/src/usr/diag/prdf/plat/prdfPlatServices.H
@@ -117,6 +117,42 @@ uint32_t putScom(TARGETING::TargetHandle_t i_target, BIT_STRING_CLASS& io_bs,
template<TARGETING::TYPE T>
uint32_t startBgScrub( ExtensibleChip * i_chip, const MemRank & i_rank );
+/**
+ * @brief Starts a targeted scrub command on the target rank for VCM phase 1.
+ * @param i_chip MCA or MBA chip.
+ * @param i_rank The rank to target.
+ * @return Non-SUCCESS if an internal function fails, otherwise SUCCESS.
+ */
+template<TARGETING::TYPE T>
+uint32_t startVcmPhase1( ExtensibleChip * i_chip, const MemRank & i_rank );
+
+/**
+ * @brief Starts a targeted scrub command on the target rank for VCM phase 2.
+ * @param i_chip MCA or MBA chip.
+ * @param i_rank The rank to target.
+ * @return Non-SUCCESS if an internal function fails, otherwise SUCCESS.
+ */
+template<TARGETING::TYPE T>
+uint32_t startVcmPhase2( ExtensibleChip * i_chip, const MemRank & i_rank );
+
+/**
+ * @brief Starts a targeted scrub command on the target rank for TPS phase 1.
+ * @param i_chip MCA or MBA chip.
+ * @param i_rank The rank to target.
+ * @return Non-SUCCESS if an internal function fails, otherwise SUCCESS.
+ */
+template<TARGETING::TYPE T>
+uint32_t startTpsPhase1( ExtensibleChip * i_chip, const MemRank & i_rank );
+
+/**
+ * @brief Starts a targeted scrub command on the target rank for TPS phase 2.
+ * @param i_chip MCA or MBA chip.
+ * @param i_rank The rank to target.
+ * @return Non-SUCCESS if an internal function fails, otherwise SUCCESS.
+ */
+template<TARGETING::TYPE T>
+uint32_t startTpsPhase2( ExtensibleChip * i_chip, const MemRank & i_rank );
+
} // end namespace PlatServices
} // end namespace PRDF
OpenPOWER on IntegriCloud