summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorMarty Gloff <mgloff@us.ibm.com>2017-08-07 09:26:09 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-08-27 12:36:09 -0400
commit6442a89776eb751ed923c157c7b04e2b6941adb1 (patch)
tree812f17223aa58a1d9d18b206a1a86b486f915fe8 /src/include
parente103f5b112f2b705db2c1691842dfd3dedecd06a (diff)
downloadtalos-hostboot-6442a89776eb751ed923c157c7b04e2b6941adb1.tar.gz
talos-hostboot-6442a89776eb751ed923c157c7b04e2b6941adb1.zip
Implement getSbeFfdc FIFO request
Add support for sending getSbeFfdc FIFO requests to SBE and add a test case for the getSbeFfdc request. Change-Id: I19dbbd92cb2d25679218528d199cfbd09fd9f995 RTC: 178022 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/44288 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/usr/sbeio/sbeioif.H13
-rw-r--r--src/include/usr/sbeio/sbeioreasoncodes.H1
2 files changed, 14 insertions, 0 deletions
diff --git a/src/include/usr/sbeio/sbeioif.H b/src/include/usr/sbeio/sbeioif.H
index 3e3a3dbae..69b67b131 100644
--- a/src/include/usr/sbeio/sbeioif.H
+++ b/src/include/usr/sbeio/sbeioif.H
@@ -168,6 +168,19 @@ namespace SBEIO
errlHndl_t sendFifoReset(TARGETING::Target * i_target);
/**
+ * @brief Get the SBE FFDC. Request that SBE retrieve the SBE FFDC
+ *
+ * @param[in] i_procChip The proc from which to get the SBE FFDC
+ * @param[out] o_pFifoResponse Pointer to response
+ * @param[in] i_responseSize Size of response in bytes
+ *
+ * @return errlHndl_t Error log handle on failure.
+ *
+ */
+ errlHndl_t getFifoSBEFFDC(TARGETING::Target *i_procChip,
+ uint32_t *o_pFifoResponse,
+ uint32_t &i_responseSize);
+ /**
* @brief Set the FFDC address for the SBE so it is aware of the FFDC buffer
* and its size and it is aware of the SBE Communication buffer and
* its size
diff --git a/src/include/usr/sbeio/sbeioreasoncodes.H b/src/include/usr/sbeio/sbeioreasoncodes.H
index 4a6200ccc..fa495eb44 100644
--- a/src/include/usr/sbeio/sbeioreasoncodes.H
+++ b/src/include/usr/sbeio/sbeioreasoncodes.H
@@ -50,6 +50,7 @@ enum sbeioModuleId
SBEIO_RUNTIME = 0x05,
SBEIO_MEM_REGION = 0x06,
SBEIO_RUNTIME_ATTR_OVERRIDE = 0x07,
+ SBEIO_FIFO_GET_SBE_FFDC = 0x08,
};
/**
OpenPOWER on IntegriCloud