summaryrefslogtreecommitdiffstats
path: root/src/import/chips/ocmb/explorer/procedures/hwp
diff options
context:
space:
mode:
authorLouis Stermole <stermole@us.ibm.com>2019-06-10 11:31:11 -0400
committerDaniel M. Crowell <dcrowell@us.ibm.com>2019-06-14 12:36:30 -0500
commit2c3e6ed587baba4f941476e06fecc26cd359db7e (patch)
tree74f7140c38ddedd13ea942e639928e07f8df6dd0 /src/import/chips/ocmb/explorer/procedures/hwp
parentf11931ee5e44f37421455d97930536b57249a9c0 (diff)
downloadtalos-hostboot-2c3e6ed587baba4f941476e06fecc26cd359db7e.tar.gz
talos-hostboot-2c3e6ed587baba4f941476e06fecc26cd359db7e.zip
Add reset of explorer outbound doorbell before running new cmd
Change-Id: If961df554c58952e9d9652fe4174bc15e94c6584 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/78654 Reviewed-by: Mark Pizzutillo <mark.pizzutillo@ibm.com> Reviewed-by: RYAN P. KING <rpking@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: STEPHEN GLANCY <sglancy@us.ibm.com> Reviewed-by: Jennifer A Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/78675 Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Tested-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/import/chips/ocmb/explorer/procedures/hwp')
-rw-r--r--src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_inband.C3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_inband.C b/src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_inband.C
index 4d2f89ffe..5e140b120 100644
--- a/src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_inband.C
+++ b/src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_inband.C
@@ -309,6 +309,9 @@ fapi2::ReturnCode putCMD(
FAPI_DBG("Clearing the inbound doorbell...");
FAPI_TRY(fapi2::putScom(i_target, EXPLR_MMIO_MDBELLC, l_scom), "Failed to clear inbound doorbell register");
+ // Clear the response doorbell, just in case the last response didn't get cleared
+ FAPI_TRY(clear_outbound_doorbell(i_target));
+
// Set the command
FAPI_DBG("Writing the command...");
FAPI_TRY(fapi2::putMMIO(i_target, EXPLR_IB_CMD_ADDR, BUFFER_TRANSACTION_SIZE, l_data),
OpenPOWER on IntegriCloud