summaryrefslogtreecommitdiffstats
path: root/src/occ_405/pgpe/pgpe_interface.c
diff options
context:
space:
mode:
authorAndres Lugo-Reyes <aalugore@us.ibm.com>2018-01-12 11:10:09 -0600
committerAndres A. Lugo-Reyes <aalugore@us.ibm.com>2018-01-19 17:13:09 -0500
commitc04d58bd549c17bece70aff18e6cb01af26feb26 (patch)
tree3a097e0e50154b0a98e5e91f9ad83e98e963c770 /src/occ_405/pgpe/pgpe_interface.c
parent00123c66a1d23b3a4fca98528989d4e35550fd3d (diff)
downloadtalos-occ-c04d58bd549c17bece70aff18e6cb01af26feb26.tar.gz
talos-occ-c04d58bd549c17bece70aff18e6cb01af26feb26.zip
WOF Phase 2: Use Vratio from PGPE
-Also enable WOF resets to be sent to ZZ platforms Change-Id: I7054c69fc1f287ea5184f7bf8576d198735481f6 RTC:184983 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/52272 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> Reviewed-by: Andres A. Lugo-Reyes <aalugore@us.ibm.com>
Diffstat (limited to 'src/occ_405/pgpe/pgpe_interface.c')
-rw-r--r--src/occ_405/pgpe/pgpe_interface.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/occ_405/pgpe/pgpe_interface.c b/src/occ_405/pgpe/pgpe_interface.c
index 13e1957..36d740c 100644
--- a/src/occ_405/pgpe/pgpe_interface.c
+++ b/src/occ_405/pgpe/pgpe_interface.c
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER OnChipController Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2011,2017 */
+/* Contributors Listed Below - COPYRIGHT 2011,2018 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -36,6 +36,7 @@
#include "occ_sys_config.h"
#include "ssx.h"
#include "wof.h"
+#include "pgpe_shared.h"
#include "amec_sys.h"
#include "common.h" // For ignore_pgpe_error()
@@ -50,6 +51,7 @@ extern uint32_t G_present_cores;
extern bool G_simics_environment;
+extern uint8_t G_allow_trace_flags;
// IPC GPE Requests
GpeRequest G_clip_update_req;
GpeRequest G_pmcr_set_req;
@@ -654,9 +656,12 @@ int pgpe_clip_update(void)
}
else
{
- TRAC_INFO("pgpe_clip_update: Scheduling clip update: min[0x%02X], max[0x%08X%04X]",
+ if(G_allow_trace_flags & PGPE_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],
WORD_HIGH(pstate_list), WORD_LOW(pstate_list)>>16);
+ }
}
L_last_list = pstate_list;
}
OpenPOWER on IntegriCloud