diff options
author | Amit Tendolkar <amit.tendolkar@in.ibm.com> | 2018-02-19 11:36:55 -0600 |
---|---|---|
committer | Sachin Gupta <sgupta2m@in.ibm.com> | 2018-03-13 02:21:13 -0400 |
commit | 1384ebc764accea1e20a987c8a6d97399b265ce3 (patch) | |
tree | e7b5622dd158078525f756df5bea247eecc1dcdd /src/import | |
parent | ab0fc4ba6ffbc830c9e48b8b6542a1bb12ebdbbd (diff) | |
download | talos-sbe-1384ebc764accea1e20a987c8a6d97399b265ce3.tar.gz talos-sbe-1384ebc764accea1e20a987c8a6d97399b265ce3.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>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/55010
Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Diffstat (limited to 'src/import')
-rw-r--r-- | src/import/chips/p9/procedures/hwp/lib/p9_ppe_utils.C | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/import/chips/p9/procedures/hwp/lib/p9_ppe_utils.C b/src/import/chips/p9/procedures/hwp/lib/p9_ppe_utils.C index 15bd9e35..acbd3e45 100644 --- a/src/import/chips/p9/procedures/hwp/lib/p9_ppe_utils.C +++ b/src/import/chips/p9/procedures/hwp/lib/p9_ppe_utils.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER sbe Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2016,2017 */ +/* Contributors Listed Below - COPYRIGHT 2016,2018 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -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; |