From a84955963839b3a035dd339d3ba13e0acb88547a Mon Sep 17 00:00:00 2001 From: mbroyles Date: Wed, 12 Jul 2017 08:49:44 -0500 Subject: 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 Reviewed-by: Andres A. Lugo-Reyes Reviewed-by: William A. Bryan Reviewed-by: Christopher J. Cain --- src/occ_405/amec/amec_amester.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'src/occ_405/amec/amec_amester.c') 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 -- cgit v1.2.1