summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9/procedures/hwp/pm/p9_pm_recovery_ffdc_cme.H
diff options
context:
space:
mode:
authorPrem Shanker Jha <premjha2@in.ibm.com>2017-10-02 02:06:05 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2018-01-15 14:18:39 -0500
commit6897c9475c92a37b66ca24e39f75ab0f7198bb89 (patch)
tree9a52457885e0f23becd64f11526306e620c6e8e8 /src/import/chips/p9/procedures/hwp/pm/p9_pm_recovery_ffdc_cme.H
parentb8522e84fe0320e8dc134e502643ac7fcae917e3 (diff)
downloadtalos-hostboot-6897c9475c92a37b66ca24e39f75ab0f7198bb89.tar.gz
talos-hostboot-6897c9475c92a37b66ca24e39f75ab0f7198bb89.zip
Idle Stop State: Adds CME and SGPE global variables to FFDC.
HB calls p9_check_idle_stop_done to collect FFDC when a slave core fails to activate. Commits collects global variables from CME and SGPE SRAM and adds to return code as FFDC. Key_Cronus_Test=PM_REGRESS CQ: SW406487 Change-Id: Ib008aa165b43f6b7184ad4683cb7caeb90d75078 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/46981 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Tested-by: Cronus HW CI <cronushw-ci+hostboot@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/46982 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/import/chips/p9/procedures/hwp/pm/p9_pm_recovery_ffdc_cme.H')
-rw-r--r--src/import/chips/p9/procedures/hwp/pm/p9_pm_recovery_ffdc_cme.H14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/import/chips/p9/procedures/hwp/pm/p9_pm_recovery_ffdc_cme.H b/src/import/chips/p9/procedures/hwp/pm/p9_pm_recovery_ffdc_cme.H
index f61f22dab..0538bebaa 100644
--- a/src/import/chips/p9/procedures/hwp/pm/p9_pm_recovery_ffdc_cme.H
+++ b/src/import/chips/p9/procedures/hwp/pm/p9_pm_recovery_ffdc_cme.H
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2015,2017 */
+/* Contributors Listed Below - COPYRIGHT 2015,2018 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -67,6 +67,18 @@ namespace p9_stop_recov_ffdc
fapi2::ReturnCode collectFfdc( void* i_pHomerBuf,
uint8_t i_ffdcType = ALL );
+ /// @brief collects FFDC pertaining to a given CME target.
+ /// @param[in] i_pBuf points to base of FFDC buffer.
+ /// @param[in] i_dataType indicates the content type to collect
+ /// @param[in] i_exTgt ex target
+ /// @param[in] o_ffdcLength length of FFDC in bytes
+ /// @return fapi2 return code.
+ /// @note function intends to copy FFDC pertaining to CME and SGPE to
+ /// an error log.
+ fapi2::ReturnCode collectPartialFfdc( void * i_pBuf, FfdcDataType i_dataType,
+ fapi2::Target<fapi2::TARGET_TYPE_EX >& i_exTgt,
+ uint32_t & o_ffdcLength );
+
private:
/// @brief collects trace info from a given CME SRAM buffer.
/// @param[in] i_pHomerBuf points to location of HOMER meant for CME Trace info.
OpenPOWER on IntegriCloud