summaryrefslogtreecommitdiffstats
path: root/src/import/chips
diff options
context:
space:
mode:
authorJuan Medina <jr.medina@us.ibm.com>2017-06-21 13:56:42 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-08-01 22:45:15 -0400
commit956a50ec586bb5e124b855d977067f933f19b75c (patch)
treed3f957881373cef996ebb73cca01ad3aca38cdda /src/import/chips
parent0a8218dc816f4120467e61a0d18b0de9c6f22cdb (diff)
downloadtalos-hostboot-956a50ec586bb5e124b855d977067f933f19b75c.tar.gz
talos-hostboot-956a50ec586bb5e124b855d977067f933f19b75c.zip
Change to the code so that a halted GPE doesn't cause snapshot to fail
Change-Id: I202a3cfcce4c763b96963f547e1091a42e657d62 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/42232 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Brian T. Vanderpool <vanderp@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/44067 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/import/chips')
-rw-r--r--src/import/chips/p9/procedures/hwp/lib/p9_ppe_state.C2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/import/chips/p9/procedures/hwp/lib/p9_ppe_state.C b/src/import/chips/p9/procedures/hwp/lib/p9_ppe_state.C
index cac2ef9fa..d11fae087 100644
--- a/src/import/chips/p9/procedures/hwp/lib/p9_ppe_state.C
+++ b/src/import/chips/p9/procedures/hwp/lib/p9_ppe_state.C
@@ -372,7 +372,7 @@ ppe_state_data(const fapi2::Target<fapi2::TARGET_TYPE_PROC_CHIP>& i_target,
FAPI_TRY(putScom(i_target, i_base_address + PPE_XIRAMDBG , l_sprg0_save), "Error in GETSCOM");
//If SNAPSHOT mode and only if initially PPE was not halted then do XCR(resume)
- if ((i_mode == SNAPSHOT) && ~(l_ppe_halt_state))
+ if ((i_mode == SNAPSHOT) && !(l_ppe_halt_state))
{
FAPI_TRY(ppe_resume(i_target, i_base_address));
OpenPOWER on IntegriCloud