summaryrefslogtreecommitdiffstats
path: root/src/occ_405/amec/amec_amester.c
diff options
context:
space:
mode:
authormbroyles <mbroyles@us.ibm.com>2017-07-12 08:49:44 -0500
committerChristopher J. Cain <cjcain@us.ibm.com>2017-07-25 14:49:58 -0400
commita84955963839b3a035dd339d3ba13e0acb88547a (patch)
treedb8c5891abf3d1ea7b0ea839d8ce7b6c6b75f9cb /src/occ_405/amec/amec_amester.c
parentca84830b6d1811a78c538f51bde34c269806f00a (diff)
downloadtalos-occ-a84955963839b3a035dd339d3ba13e0acb88547a.tar.gz
talos-occ-a84955963839b3a035dd339d3ba13e0acb88547a.zip
Increase RTL to 500us
Stop waiting for APSS data when detected complete but failed Add history counts for GPEs not idle and APSS collection errors Change-Id: I2bfaf36ee0b736a958fd41c1c2145f537fc883c5 RTC: 172963 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43052 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Andres A. Lugo-Reyes <aalugore@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com> Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com>
Diffstat (limited to 'src/occ_405/amec/amec_amester.c')
-rwxr-xr-xsrc/occ_405/amec/amec_amester.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/occ_405/amec/amec_amester.c b/src/occ_405/amec/amec_amester.c
index 1ac5def..23def82 100755
--- a/src/occ_405/amec/amec_amester.c
+++ b/src/occ_405/amec/amec_amester.c
@@ -58,6 +58,9 @@ extern uint32_t G_present_hw_cores;
//*************************************************************************/
///Maximum size of trace buffer
+// NOTE: Any names in this file using timescale will NOT be kept in sync
+// with RTL tick time changes since this is just for AMESTER, names
+// used outside of the file by the main OCC code will be kept in sync
#define AMEC_TB_2MS_SIZE_BYTES 8192
#define AMEC_TB_250US_SIZE_BYTES 8192
#define AMEC_TB_SIZE_BYTES (AMEC_TB_250US_SIZE_BYTES + AMEC_TB_2MS_SIZE_BYTES)
@@ -85,8 +88,8 @@ DMA_BUFFER(UINT8 g_amec_tb_bytes[AMEC_TB_SIZE_BYTES]);
// Array that maintains a list of all trace buffers built.
// NOTE: Must be in same order as AMEC_TB_ENUM
DMA_BUFFER(amec_tb_t g_amec_tb_list[AMEC_MAX_NUM_TB]) = {
- //trace 2ms
- [AMEC_TB_2MS] = {
+ //trace every 8th tick
+ [AMEC_TB_EVERY_8TH_TICK] = {
"trace2ms", // name
AMEFP(500,0), // freq
(UINT8*)(UINT32)g_amec_tb_bytes, // bytes
@@ -101,8 +104,8 @@ DMA_BUFFER(amec_tb_t g_amec_tb_list[AMEC_MAX_NUM_TB]) = {
{0}, // sensors_num[]
{0} // parms_num[]
},
- // trace 250us
- [AMEC_TB_250US] = {
+ // trace every tick
+ [AMEC_TB_EVERY_TICK] = {
"trace250us", // name
AMEFP(4000,0), // freq
(UINT8*)(UINT32)g_amec_tb_bytes+AMEC_TB_2MS_SIZE_BYTES, // bytes
@@ -1051,7 +1054,6 @@ void amec_tb_record(const AMEC_TB_GUID i_guid)
/* Code */
/*------------------------------------------------------------------------*/
- // Record OCA from last 32 ms
if(G_dcom_slv_inbox_rx.tb_record)
{
// Check for valid tb write entry index
OpenPOWER on IntegriCloud