summaryrefslogtreecommitdiffstats
path: root/import/chips/p9/procedures/ppe
diff options
context:
space:
mode:
authorYue Du <daviddu@us.ibm.com>2016-11-10 16:07:17 -0600
committerJoshua Hunsberger <jahunsbe@us.ibm.com>2017-10-23 16:49:50 -0500
commit43a8f1052ed6953c4134f16dda688b3525827102 (patch)
tree38ed267d244317c94f8a7ef2716f5619ab6f6038 /import/chips/p9/procedures/ppe
parent8d5d7a31ddc02cb664f98b61bb5bde65c98efae1 (diff)
downloadtalos-hcode-43a8f1052ed6953c4134f16dda688b3525827102.tar.gz
talos-hcode-43a8f1052ed6953c4134f16dda688b3525827102.zip
STOP Image updates
This commit is pending to be regressed and merged. Thus, freeze puting new change feature in unless necessary fix to existing features. 1) add starting ANEP clock and drop ANEP regional fence before starting DPLL clock 2) change trace level to 1 by default change trace level 1 to only print tiny traces trace level 2 will print variable debug info trace level 3 will print all traces 3) use self restore address from header instead of hardcoded 4) enable dpll lock check when in lab 5) finish up lco settings in sgpe code 6) DTS enablement in stop/istep code 7) skip cache power off if hostAttn or localXstop 8) istep4 set special wakeup, sgpe remove when ready 9) disable dpll lock check as still work in progress 10)rebase 11)fix jenkins 12)fix db1 workaround on OR/CLR address 13)can write db1 base address directly instead of read first 14)fix self restore address fetch 15)clear pig type2/3/6 pending in sgpe setup 16)move hostAttn/localXstop read before stopclocks 17)fix typo in 16) 18)fix getscom(hostAttn/localXstop) 19)fix hrmor[13:42] Change-Id: Ibde32271db0543661c426d8eed8531ba6312c6e5 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/32514 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Reviewed-by: Michael S. Floyd <mfloyd@us.ibm.com> Dev-Ready: Michael S. Floyd <mfloyd@us.ibm.com> Reviewed-by: Brian T. Vanderpool <vanderp@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Diffstat (limited to 'import/chips/p9/procedures/ppe')
-rw-r--r--import/chips/p9/procedures/ppe/pk/kernel/pk_api.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/import/chips/p9/procedures/ppe/pk/kernel/pk_api.h b/import/chips/p9/procedures/ppe/pk/kernel/pk_api.h
index 2a8e185f..0c9402c1 100644
--- a/import/chips/p9/procedures/ppe/pk/kernel/pk_api.h
+++ b/import/chips/p9/procedures/ppe/pk/kernel/pk_api.h
@@ -316,6 +316,11 @@
#define PK_TRACE_CRIT_ENABLE 0
#endif
+/// Enable PK ckpt (disabled by default)
+#ifndef PK_TRACE_CKPT_ENABLE
+ #define PK_TRACE_CKPT_ENABLE 0
+#endif
+
/// Enable Debug suppress (disabled by default)
// a.k.a. enabled means turn off PK_TRACE(), but keep crit trace
#ifndef PK_TRACE_DBG_SUPPRESS
@@ -332,16 +337,18 @@
#if !PK_TRACE_ENABLE
#undef PK_TRACE_DBG_SUPPRESS
#undef PK_TRACE_CRIT_ENABLE
+ #undef PK_TRACE_CKPT_ENABLE
#define PK_TRACE_DBG_SUPPRESS 1
#define PK_TRACE_CRIT_ENABLE 0
+ #define PK_TRACE_CKPT_ENABLE 0
#endif
// PK TRACE enabled & PK CRIT enabled implies all tracing on.
// PK TRACE enabled & PK DBUG disabled implies PK CRIT INFO tracing only.
// PK TRACE enable & pK CRIT INFO disabled && PK DBUG disabled implies
// PK TRACE disabled
-#if PK_TRACE_ENABLE && PK_TRACE_DBG_SUPPRESS && !PK_TRACE_CRIT_ENABLE
+#if PK_TRACE_ENABLE && PK_TRACE_DBG_SUPPRESS && !PK_TRACE_CRIT_ENABLE && !PK_TRACE_CKPT_ENABLE
#undef PK_TRACE_ENABLE
#define PK_TRACE_ENABLE 0
#endif
@@ -362,6 +369,12 @@
#define PK_TRACE_INF(...) PKTRACE(__VA_ARGS__)
#endif
+#if !PK_TRACE_CKPT_ENABLE
+ #define PK_TRACE_DBG(...)
+#else
+ #define PK_TRACE_DBG(...) PKTRACE(__VA_ARGS__)
+#endif
+
//Kernel trace macros
#if !PK_KERNEL_TRACE_ENABLE
#define PK_KERN_TRACE(...)
OpenPOWER on IntegriCloud