diff options
author | Prachi Gupta <pragupta@us.ibm.com> | 2017-07-17 17:43:01 -0500 |
---|---|---|
committer | William A. Bryan <wilbryan@us.ibm.com> | 2017-07-21 17:51:40 -0400 |
commit | b796b12052f5542945bf6d1a831f8d67a502a0ef (patch) | |
tree | c3eb6825606ce714b5d020b1092c5d6c05d06027 /src/occ_gpe0/gpe_util.c | |
parent | 3d71bd95e10f82ae2a96e6ebc929dc2ca7b1b63c (diff) | |
download | talos-occ-b796b12052f5542945bf6d1a831f8d67a502a0ef.tar.gz talos-occ-b796b12052f5542945bf6d1a831f8d67a502a0ef.zip |
rt_xstop_analysis: single proc fir collection is working, without pnor writes
Change-Id: Ib49d3b9d52c8f4e1054e9b0c0d609a6e13908ddb
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43245
Reviewed-by: ILYA SMIRNOV <ismirno@us.ibm.com>
Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Brian J. Stegmiller <bjs@us.ibm.com>
Reviewed-by: William A. Bryan <wilbryan@us.ibm.com>
Diffstat (limited to 'src/occ_gpe0/gpe_util.c')
-rw-r--r-- | src/occ_gpe0/gpe_util.c | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/occ_gpe0/gpe_util.c b/src/occ_gpe0/gpe_util.c index 61ee5e9..c97baa1 100644 --- a/src/occ_gpe0/gpe_util.c +++ b/src/occ_gpe0/gpe_util.c @@ -28,6 +28,9 @@ #include "pss_constants.h" #include "gpe_util.h" #include "gpe_export.h" +#include <fir_data_collect.h> +#include <scom_util.h> + #define SPIPSS_P2S_ONGOING_MASK 0x8000000000000000 /* @@ -216,6 +219,33 @@ void ipc_scom_operation(ipc_msg_t* cmd, void* arg) } /* + * Function Specification + * + * Name: ipc_fir_collection + * + * Description: Does a getscom or putscom for the 405 + * + * End Function Specification + */ +void ipc_fir_collection(ipc_msg_t* cmd, void* arg) +{ + int l_rc; + PK_TRACE("ipc_fir_collection: starting fir_data_collect"); + + fir_data_collect(); + + // send back a response, IPC success even if ffdc/rc are non zeros + l_rc = ipc_send_rsp(cmd, IPC_RC_SUCCESS); + if(l_rc) + { + PK_TRACE("ipc_fir_collection: Failed to send response back. Halting GPE0", l_rc); + pk_halt(); + } + + PK_TRACE("ipc_fir_collection: fir_data_collect finished"); +} + +/* * Function Specification: * * Name: gpe0_nop |