diff options
| author | Amit Tendolkar <amit.tendolkar@in.ibm.com> | 2018-02-19 11:36:55 -0600 |
|---|---|---|
| committer | hostboot <hostboot@us.ibm.com> | 2018-03-22 14:05:23 -0500 |
| commit | 0e8a450329872fd94ebffc937fb6a4b5897be6d6 (patch) | |
| tree | 2899ccf7a2205661add860ff4836dcce74e02a14 | |
| parent | ad6b036a988c0a52d6cb4af1c76b05bbd1bc79b2 (diff) | |
| download | talos-hcode-0e8a450329872fd94ebffc937fb6a4b5897be6d6.tar.gz talos-hcode-0e8a450329872fd94ebffc937fb6a4b5897be6d6.zip | |
Update p9_collect_ppe_state to dynamically collect PPE FFDC
1- On FSP, avoid RAMming and collect only XIRs
2- On Host: avoid side effects of having to Halt PPE for RAMming:
a Avoid Halt, if not already halted or in PMReset, collect only XIRs
b Collect max state if already halted, no side-effects
Change-Id: I7b27a02aebda0122f7dd7e36eaff869a510e5af5
CQ: SW419011
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/54368
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: HWSV CI <hwsv-ci+hostboot@us.ibm.com>
Tested-by: PPE CI <ppe-ci+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: Prem Shanker Jha <premjha2@in.ibm.com>
Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
| -rw-r--r-- | import/chips/p9/procedures/hwp/lib/p9_ppe_utils.C | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/import/chips/p9/procedures/hwp/lib/p9_ppe_utils.C b/import/chips/p9/procedures/hwp/lib/p9_ppe_utils.C index 3cfa40dc..333eb4ac 100644 --- a/import/chips/p9/procedures/hwp/lib/p9_ppe_utils.C +++ b/import/chips/p9/procedures/hwp/lib/p9_ppe_utils.C @@ -674,7 +674,7 @@ fapi2::ReturnCode ppe_isHalted( l_data64 ), "Failed reading XIRAMDBG register!" ); - *o_halted = l_data64.getBit<0>(); + *o_halted = l_data64.getBit<PU_PPE_XIRAMDBG_XSR_HS>(); fapi_try_exit: return fapi2::current_err; |

