diff options
author | Greg Still <stillgs@us.ibm.com> | 2017-08-17 15:51:15 -0500 |
---|---|---|
committer | Sachin Gupta <sgupta2m@in.ibm.com> | 2017-10-04 08:27:04 -0400 |
commit | 7e0ca5fe37c2f5b2398d4ca53c6cf941140dff33 (patch) | |
tree | b387210dcffbcce0218baae8a562112d4d98a979 /src/import/chips/p9/procedures | |
parent | b31641fa1b2020aa0e84177c0bc1159d0bed7245 (diff) | |
download | talos-sbe-7e0ca5fe37c2f5b2398d4ca53c6cf941140dff33.tar.gz talos-sbe-7e0ca5fe37c2f5b2398d4ca53c6cf941140dff33.zip |
PM (Cronus): Add processor id for errors from p9_activate_stop15_cores
- reformatted error output for readability
- removed FAPI_ASSERT FFDC as these are not useful in Cronus; moved the FFDC
to printfs before the ASSERT
- Added isHalted() to ppe_utils
- added SSH and better SGPE oriented register FFDC
- removed extra setBit to core_sb buffer
Change-Id: Ie23f294b843b15a78b8d3ee036310631c0595904
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/44758
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Dev-Ready: Gregory S. Still <stillgs@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com>
Reviewed-by: Juan R. Medina <jrmedina@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/47138
Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Diffstat (limited to 'src/import/chips/p9/procedures')
-rw-r--r-- | src/import/chips/p9/procedures/hwp/lib/p9_ppe_utils.H | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/import/chips/p9/procedures/hwp/lib/p9_ppe_utils.H b/src/import/chips/p9/procedures/hwp/lib/p9_ppe_utils.H index 59c6ef13..9e0ffa67 100644 --- a/src/import/chips/p9/procedures/hwp/lib/p9_ppe_utils.H +++ b/src/import/chips/p9/procedures/hwp/lib/p9_ppe_utils.H @@ -491,6 +491,19 @@ fapi2::ReturnCode ppe_write_iar( const uint64_t i_base_address, const uint64_t i_address ); + +///-------------------------------------------------------------------------------------- +/// @brief Determine if the PPE is halted +/// @param[in] i_target target +/// @param[in] i_base_address base SCOM address of the PPE +/// @param[out] o_halted boolean true if halted; false otherwise +/// @return fapi2::ReturnCode +///-------------------------------------------------------------------------------------- +fapi2::ReturnCode ppe_isHalted( + const fapi2::Target<fapi2::TARGET_TYPE_PROC_CHIP>& i_target, + const uint64_t i_base_address, + bool* o_halted); + #ifndef __HOSTBOOT_MODULE ///-------------------------------------------------------------------------------------- |