From 811745d037327eb3fb4e29dac02ec45f4d84f08c Mon Sep 17 00:00:00 2001 From: Michael Floyd Date: Mon, 5 Feb 2018 10:30:38 -0600 Subject: 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: Iedd1aedf54dd58550327dd923de01542b96baabb Original-Change-Id: If48fec5832bd5e46cb89f0d6a97d90a488e8ff7b CQ: SW415503 RTC: 178789 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/53381 Tested-by: PPE CI Tested-by: Hostboot CI Tested-by: Jenkins Server Tested-by: Cronus HW CI Tested-by: FSP CI Jenkins Reviewed-by: YUE DU Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA Reviewed-by: Gregory S. Still --- .../chips/p9/procedures/ppe_closed/pgpe/pstate_gpe/p9_pgpe_pstate.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/import/chips/p9/procedures/ppe_closed/pgpe/pstate_gpe/p9_pgpe_pstate.c b/import/chips/p9/procedures/ppe_closed/pgpe/pstate_gpe/p9_pgpe_pstate.c index 4aea7467..267985da 100644 --- a/import/chips/p9/procedures/ppe_closed/pgpe/pstate_gpe/p9_pgpe_pstate.c +++ b/import/chips/p9/procedures/ppe_closed/pgpe/pstate_gpe/p9_pgpe_pstate.c @@ -505,7 +505,10 @@ void p9_pgpe_send_db0(uint64_t db0, uint32_t origCoreVector, #endif } - p9_pgpe_wait_cme_db_ack(ackVector);//Wait for ACKs from QuadManagers + if (ackWait == PGPE_DB0_ACK_WAIT_CME) + { + p9_pgpe_wait_cme_db_ack(ackVector);//Wait for ACKs from QuadManagers + } if(G_pgpe_pstate_record.quadsNACKed) { -- cgit v1.2.3