diff options
author | Amit Tendolkar <amit.tendolkar@in.ibm.com> | 2018-02-19 11:36:55 -0600 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2018-03-16 13:39:06 -0400 |
commit | 18d91f4a458f0afb827be3495fda496543711a62 (patch) | |
tree | 92d25febbf8c78c9c3e87734ee94f401d93f1ae2 /src/import/chips/p9/procedures/hwp/lib | |
parent | 4761f0cf880a057733a1d31ce0150ebbe6b129b1 (diff) | |
download | talos-hostboot-18d91f4a458f0afb827be3495fda496543711a62.tar.gz talos-hostboot-18d91f4a458f0afb827be3495fda496543711a62.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/54390
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/lib')
-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 42c6d1b17..0d2faab10 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 HostBoot 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; |