summaryrefslogtreecommitdiffstats
path: root/import/chips/p9
diff options
context:
space:
mode:
authorAnusha Reddy Rangareddygari <anusrang@in.ibm.com>2018-08-09 04:40:46 -0400
committerhostboot <hostboot@us.ibm.com>2018-08-22 17:56:04 -0500
commit9d9a20de2e4bf660f99941eb303ae2f0734415cb (patch)
tree432dc1eda76e34c17338783840fbdb6ce738b39a /import/chips/p9
parentd11796515369999cf5bf26da48798c94de59c16d (diff)
downloadtalos-hcode-9d9a20de2e4bf660f99941eb303ae2f0734415cb.tar.gz
talos-hcode-9d9a20de2e4bf660f99941eb303ae2f0734415cb.zip
Adding a fapi_assert to flag error if PPE is not halted.
Change-Id: I5fe5d26d6e29d29a66aa9d03cf24f6f52b5eef6b Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/64168 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: HWSV CI <hwsv-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: SRINIVAS V. POLISETTY <srinivan@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Diffstat (limited to 'import/chips/p9')
-rw-r--r--import/chips/p9/procedures/hwp/lib/p9_ppe_common.C9
1 files changed, 5 insertions, 4 deletions
diff --git a/import/chips/p9/procedures/hwp/lib/p9_ppe_common.C b/import/chips/p9/procedures/hwp/lib/p9_ppe_common.C
index 009fc5d0..de60c97b 100644
--- a/import/chips/p9/procedures/hwp/lib/p9_ppe_common.C
+++ b/import/chips/p9/procedures/hwp/lib/p9_ppe_common.C
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HCODE Project */
/* */
-/* COPYRIGHT 2016,2017 */
+/* COPYRIGHT 2016,2018 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -230,9 +230,10 @@ fapi2::ReturnCode pollHaltStateDone(
while (! l_data64.getBit<0>() &&
--l_timeout_count != 0);
- // @todo Add error
-//where is this defined? FAPI_ASSERT(l_data64.getBit<0>(), fapi2::P9_PPE_STATE_HALT_TIMEOUT_ERR(),
-//where is this defined? "PPE Halt Timeout");
+ FAPI_ASSERT(l_data64.getBit<0>(),
+ fapi2::P9_PPE_STATE_HALT_TIMEOUT_ERR()
+ .set_TARGET(i_target),
+ "PPE Halt Timeout");
fapi_try_exit:
OpenPOWER on IntegriCloud