summaryrefslogtreecommitdiffstats
path: root/src/usr/diag/prdf/plat/prdfPlatServices_rt.H
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/diag/prdf/plat/prdfPlatServices_rt.H')
-rw-r--r--src/usr/diag/prdf/plat/prdfPlatServices_rt.H24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/usr/diag/prdf/plat/prdfPlatServices_rt.H b/src/usr/diag/prdf/plat/prdfPlatServices_rt.H
index 17f8be9e1..90b24b2c2 100644
--- a/src/usr/diag/prdf/plat/prdfPlatServices_rt.H
+++ b/src/usr/diag/prdf/plat/prdfPlatServices_rt.H
@@ -154,6 +154,30 @@ int32_t pmCallout( TARGETING::TargetHandle_t i_tgt,
std::vector < StopErrLogSectn >& o_ffdcList );
+/**
+ * @brief Requests HWSV to create a new back up topology due to TOD errors
+ * @param i_oscPos Position of failing OSC. 0xFFFFFFFF if not used.
+ * @param i_procOscTgt Proc chip target associated with failing OSC
+ * @param i_badChipList list of bad chips to be avoided for MDMT
+ * @param i_informPhyp Inform PHYP to disable back up topology.
+ */
+void requestNewTODTopology( uint32_t i_oscPos,
+ const TARGETING::TargetHandle_t& i_procOscTgt,
+ const TARGETING::TargetHandleList& i_badChipList,
+ bool i_informPhyp);
+
+/**
+ * @brief Retrieves a saved version of a TOD config register from HWSV.
+ * We use the saved value rather than the live version because this
+ * could have changed in response to the TOD fault we're currently
+ * analyzing.
+ * @param i_procTgt Proc chip target
+ * @param i_slvPath0 Whether we need the register for slave path 0 or 1
+ * @param o_regValue Returns contents of the register
+ * @return non-SUCCESS for failure, SUCCESS otherwise
+ */
+int32_t getTodPortControlReg ( const TARGETING::TargetHandle_t& i_procTgt,
+ bool i_slvPath0, uint32_t &o_regValue );
} // end namespace PlatServices
} // end namespace PRDF
OpenPOWER on IntegriCloud