summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Floyd <mfloyd@us.ibm.com>2018-02-05 10:30:38 -0600
committerhostboot <hostboot@us.ibm.com>2018-03-22 14:05:57 -0500
commitd6f049a7f729a619747356f46b076429c6504b01 (patch)
tree50ee0fdbaf5413f83ce29a8b2d81bc20818f59b3
parent6a32761e1f8a5efd02c7e1d6c6ded030b1ba24e8 (diff)
downloadtalos-hcode-d6f049a7f729a619747356f46b076429c6504b01.tar.gz
talos-hcode-d6f049a7f729a619747356f46b076429c6504b01.zip
CME Code Size Reduction ATTEMPT#3
-- some IOTA kernel cleanup -- also add checking for IOTA execution stack overflow -- re-coded to eliminate some math library macro usage -- added native 16-bit multiply -- re-coded to remove redundancy from external interrupt handler -- removed dec handler (optional define) and other minor cleanup -- fixed Interrupt initialization code in std_init (all PPE images) -- always inline pstate_db0_clip_bcast & update_vdm_jump_values_in_dpll -- optimized pls calculation code -- optimized pstate init, db1 handler, core good handling -- optimized pmcr requests and pmsr updates (always write for both cores) Key_Cronus_Test=PM_REGRESS Change-Id: I27a320936c0c5dad371bbc9ba0cc581b7ba3b05e Original-Change-Id: If48fec5832bd5e46cb89f0d6a97d90a488e8ff7b CQ: SW415503 RTC: 178789 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/53381 Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Cronus HW CI <cronushw-ci+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: YUE DU <daviddu@us.ibm.com> Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
-rw-r--r--import/chips/p9/procedures/ppe_closed/cme/pk_app_cfg.h2
-rw-r--r--import/chips/p9/procedures/ppe_closed/cme/stop_cme/p9_cme_stop_init.c11
2 files changed, 2 insertions, 11 deletions
diff --git a/import/chips/p9/procedures/ppe_closed/cme/pk_app_cfg.h b/import/chips/p9/procedures/ppe_closed/cme/pk_app_cfg.h
index b8f7eb99..3a63a6da 100644
--- a/import/chips/p9/procedures/ppe_closed/cme/pk_app_cfg.h
+++ b/import/chips/p9/procedures/ppe_closed/cme/pk_app_cfg.h
@@ -73,6 +73,8 @@
#endif
// --------------------
+#define ENABLE_CME_DEC_TIMER 0
+// --------------------
// Hyp debug support,
// @todo need to disable this for GA
diff --git a/import/chips/p9/procedures/ppe_closed/cme/stop_cme/p9_cme_stop_init.c b/import/chips/p9/procedures/ppe_closed/cme/stop_cme/p9_cme_stop_init.c
index 9906ba48..9d232b45 100644
--- a/import/chips/p9/procedures/ppe_closed/cme/stop_cme/p9_cme_stop_init.c
+++ b/import/chips/p9/procedures/ppe_closed/cme/stop_cme/p9_cme_stop_init.c
@@ -44,17 +44,6 @@ p9_cme_stop_init()
uint32_t core_mask = 0;
//--------------------------------------------------------------------------
- // Basic Software Settings
- //--------------------------------------------------------------------------
-
- // Create a semaphore, updated by a single interrupt handler that services
- // two STOP threads. Thus, max sem count set to two.
-#if !defined(__IOTA__)
- pk_semaphore_create(&(G_cme_stop_record.sem[0]), 0, 2);
- pk_semaphore_create(&(G_cme_stop_record.sem[1]), 0, 2);
-#endif
-
- //--------------------------------------------------------------------------
// Parse CME Flags and Initialize Core States
//--------------------------------------------------------------------------
OpenPOWER on IntegriCloud