summaryrefslogtreecommitdiffstats
path: root/src/occ_405/pgpe
diff options
context:
space:
mode:
authorAndres Lugo-Reyes <aalugore@us.ibm.com>2018-02-01 13:20:27 -0600
committerMartha Broyles <mbroyles@us.ibm.com>2018-02-12 13:02:00 -0500
commitfca494dbdcf944718a577bfe0e3c6c01aabb1a69 (patch)
tree780d309e273d95a39ed8fc51537b34d15c64c5d8 /src/occ_405/pgpe
parentccdb19fba8c7b6e8623178d38564703896f4510b (diff)
downloadtalos-occ-fca494dbdcf944718a577bfe0e3c6c01aabb1a69.tar.gz
talos-occ-fca494dbdcf944718a577bfe0e3c6c01aabb1a69.zip
Replace Firmware Level with FClip History in error log
-Throttle noisy traces -Add slave clip history to Call Home log Change-Id: If498c4c5b7e445d7b1b43fb16a2790f11166e430 CMVC-Prereq: 1045167 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/53578 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com>
Diffstat (limited to 'src/occ_405/pgpe')
-rw-r--r--src/occ_405/pgpe/pgpe_interface.c4
-rw-r--r--src/occ_405/pgpe/pgpe_shared.h5
2 files changed, 2 insertions, 7 deletions
diff --git a/src/occ_405/pgpe/pgpe_interface.c b/src/occ_405/pgpe/pgpe_interface.c
index 36d740c..991f6cf 100644
--- a/src/occ_405/pgpe/pgpe_interface.c
+++ b/src/occ_405/pgpe/pgpe_interface.c
@@ -51,7 +51,7 @@ extern uint32_t G_present_cores;
extern bool G_simics_environment;
-extern uint8_t G_allow_trace_flags;
+extern uint16_t G_allow_trace_flags;
// IPC GPE Requests
GpeRequest G_clip_update_req;
GpeRequest G_pmcr_set_req;
@@ -656,7 +656,7 @@ int pgpe_clip_update(void)
}
else
{
- if(G_allow_trace_flags & PGPE_ALLOW_CLIP_TRACE)
+ if(G_allow_trace_flags & ALLOW_CLIP_TRACE)
{
TRAC_INFO("pgpe_clip_update: Scheduling clip update: min[0x%02X], max[0x%08X%04X]",
G_clip_update_parms.ps_val_clip_min[0],
diff --git a/src/occ_405/pgpe/pgpe_shared.h b/src/occ_405/pgpe/pgpe_shared.h
index 3003af4..12a7d73 100644
--- a/src/occ_405/pgpe/pgpe_shared.h
+++ b/src/occ_405/pgpe/pgpe_shared.h
@@ -43,11 +43,6 @@
#define PGPE_WOF_TBLS_ADDR_OFFSET 0x58
#define PGPE_WOF_TBLS_LEN_OFFSET 0x5C
-// PGPE Command Trace Masks
-#define PGPE_ALLOW_PMCR_TRACE 0x0001
-#define PGPE_ALLOW_CLIP_TRACE 0x0002
-#define PGPE_ALLOW_VFRT_TRACE 0x0004
-
// This size must be a multiple of 128
typedef struct __attribute__ ((packed))
{
OpenPOWER on IntegriCloud