From 956a50ec586bb5e124b855d977067f933f19b75c Mon Sep 17 00:00:00 2001 From: Juan Medina Date: Wed, 21 Jun 2017 13:56:42 -0500 Subject: 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 Reviewed-by: Brian T. Vanderpool Reviewed-by: Gregory S. Still Reviewed-by: Jennifer A. Stofer Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/44067 Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Tested-by: FSP CI Jenkins Reviewed-by: Daniel M. Crowell --- src/import/chips/p9/procedures/hwp/lib/p9_ppe_state.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/import/chips') 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& 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)); -- cgit v1.2.1