summaryrefslogtreecommitdiffstats
path: root/src/import/chips
diff options
context:
space:
mode:
authorAshish <ashish.more@in.ibm.com>2016-10-27 03:51:20 -0400
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-07-27 13:21:07 -0400
commit5d3887b403be801e536658ee7de4541f187a9add (patch)
tree74f88bd28f3a38d7ec319ae46e4678f123369703 /src/import/chips
parent08e23c460c274b3dceb015a15f91f52b372991ed (diff)
downloadtalos-hostboot-5d3887b403be801e536658ee7de4541f187a9add.tar.gz
talos-hostboot-5d3887b403be801e536658ee7de4541f187a9add.zip
code bug: single step was not restoring dbcr
Change-Id: I8980432fb6bfa2c41e709a1a5a0c111a151753f7 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/31888 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43729 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_utils.C3
1 files changed, 2 insertions, 1 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 3cd73789f..ca3ea63c1 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
@@ -571,6 +571,7 @@ fapi2::ReturnCode ppe_single_step(
FAPI_DBG("Move i_Rs to SPRG0 : so now SPRG0 has DBCR value");
l_data64.flush<0>().insertFromRight(ppe_getMtsprInstruction(i_Rs, SPRG0), 0, 32);
FAPI_DBG("getMtsprInstruction(%d, SPRG0): 0x%16llX", i_Rs, l_data64 );
+ FAPI_TRY(fapi2::putScom(i_target, i_base_address + PPE_XIRAMEDR, l_data64));
FAPI_DBG("Save SPRG0 i.e. DBCR");
FAPI_TRY(getScom(i_target, i_base_address + PPE_XIRAMDBG, l_data64), "Error in GETSCOM");
@@ -590,7 +591,7 @@ fapi2::ReturnCode ppe_single_step(
FAPI_TRY(fapi2::putScom(i_target, i_base_address + PPE_XIRAMGA, l_data64 ));
FAPI_DBG("Restore SPRG0");
FAPI_TRY(ppe_pollHaltState(i_target, i_base_address));
- FAPI_TRY(putScom(i_target, i_base_address + PPE_XIRAMDBG , l_sprg0_save), "Error in GETSCOM");
+ FAPI_TRY(putScom(i_target, i_base_address + PPE_XIRAMDBG , l_sprg0_save), "Error in PUTSCOM");
while(i_step_count != 0)
{
OpenPOWER on IntegriCloud