summaryrefslogtreecommitdiffstats
path: root/import/chips/p9/procedures/ppe_closed/cme/stop_cme/p9_cme_stop_irq_handlers.c
diff options
context:
space:
mode:
authorYue Du <daviddu@us.ibm.com>2019-08-30 01:53:03 -0500
committerhostboot <hostboot@us.ibm.com>2019-09-10 06:39:04 -0500
commita3362cd23383634f23afef1bbe9772008fd6f45d (patch)
tree9dc2870a03640a31f2945058c0dc5e13abdf25be /import/chips/p9/procedures/ppe_closed/cme/stop_cme/p9_cme_stop_irq_handlers.c
parent13b4724231e4163d182b0818e49858c7a5372bfa (diff)
downloadtalos-hcode-a3362cd23383634f23afef1bbe9772008fd6f45d.tar.gz
talos-hcode-a3362cd23383634f23afef1bbe9772008fd6f45d.zip
CME: Reduce Image Size
On some systems, the ring overrides size is more than anticipated, and causes a run time failure when CME Image is loaded during istep 15/16. Therefore, we are reducing CME Image Size by converting PK_TRACE_INF to PK_TRACE_DBG for some trace statements. Key_Cronus_Test=PM_REGRESS Change-Id: Ie5959d251cf52f034dd9f6e47b343e6a7c9390c5 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/83116 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Cronus HW CI <cronushw-ci+hostboot@us.ibm.com> Reviewed-by: Gregory S Still <stillgs@us.ibm.com> Reviewed-by: Jennifer A Stofer <stofer@us.ibm.com>
Diffstat (limited to 'import/chips/p9/procedures/ppe_closed/cme/stop_cme/p9_cme_stop_irq_handlers.c')
-rw-r--r--import/chips/p9/procedures/ppe_closed/cme/stop_cme/p9_cme_stop_irq_handlers.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/import/chips/p9/procedures/ppe_closed/cme/stop_cme/p9_cme_stop_irq_handlers.c b/import/chips/p9/procedures/ppe_closed/cme/stop_cme/p9_cme_stop_irq_handlers.c
index 12f353b3..7f82bb8d 100644
--- a/import/chips/p9/procedures/ppe_closed/cme/stop_cme/p9_cme_stop_irq_handlers.c
+++ b/import/chips/p9/procedures/ppe_closed/cme/stop_cme/p9_cme_stop_irq_handlers.c
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HCODE Project */
/* */
-/* COPYRIGHT 2015,2018 */
+/* COPYRIGHT 2015,2019 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -83,7 +83,7 @@ p9_cme_stop_pcwu_handler(void)
// if still wakeup for core with notify_select == cme, go exit
if (core)
{
- PK_TRACE_INF("PCWU Launching exit thread");
+ //PK_TRACE_INF("PCWU Launching exit thread");
out32(G_CME_LCL_EIMR_OR, BITS32(12, 10));
g_eimr_override |= BITS64(12, 10);
@@ -148,7 +148,7 @@ p9_cme_stop_spwu_handler(void)
}
}
- PK_TRACE_INF("Falling edge of SPWU, now clear spwu_done, eisr and flip eipr");
+ //PK_TRACE_INF("Falling edge of SPWU, now clear spwu_done, eisr and flip eipr");
out32(G_CME_LCL_SICR_CLR, BIT32((16 + core_index)));
out32(G_CME_LCL_EISR_CLR, BIT32((14 + core_index)));
out32(G_CME_LCL_EIPR_OR, BIT32((14 + core_index)));
@@ -159,7 +159,7 @@ p9_cme_stop_spwu_handler(void)
out32(G_CME_LCL_EISR_CLR, BIT32((14 + core_index)));
out32(G_CME_LCL_EIPR_CLR, BIT32((14 + core_index)));
out32(G_CME_LCL_SICR_OR, BIT32((16 + core_index)));
- PK_TRACE_INF("SPWU asserts again, clear eisr, flip eipr, re-assert spwu_done");
+ //PK_TRACE_INF("SPWU asserts again, clear eisr, flip eipr, re-assert spwu_done");
}
// if spwu truly dropped:
else
@@ -192,7 +192,7 @@ p9_cme_stop_spwu_handler(void)
if (spwu_rise)
{
- PK_TRACE_INF("SPWU Launching exit thread");
+ //PK_TRACE_INF("SPWU Launching exit thread");
out32(G_CME_LCL_EIMR_OR, BITS32(12, 10));
g_eimr_override |= BITS64(12, 10);
@@ -218,7 +218,7 @@ void
p9_cme_stop_rgwu_handler(void)
{
MARK_TRAP(STOP_RGWU_HANDLER)
- PK_TRACE_INF("RGWU Handler Trigger");
+ //PK_TRACE_INF("RGWU Handler Trigger");
out32(G_CME_LCL_EIMR_OR, BITS32(12, 10));
g_eimr_override |= BITS64(12, 10);
@@ -244,7 +244,7 @@ void
p9_cme_stop_enter_handler(void)
{
MARK_TRAP(STOP_ENTER_HANDLER)
- PK_TRACE_INF("PM_ACTIVE Handler Trigger");
+ //PK_TRACE_INF("PM_ACTIVE Handler Trigger");
// Abort Protection
out32(G_CME_LCL_EIMR_OR, BITS32(12, 10));
@@ -373,7 +373,7 @@ p9_cme_stop_db1_handler(void)
uint32_t suspend_ack = 0;
MARK_TRAP(STOP_DB1_HANDLER)
- PK_TRACE_INF("DB1 Handler Trigger");
+ //PK_TRACE_INF("DB1 Handler Trigger");
// Suspend DB should only come from the first good core
core = G_cme_pstate_record.firstGoodCoreMask;
OpenPOWER on IntegriCloud