summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRahul Batra <rbatra@us.ibm.com>2018-01-22 16:11:56 -0600
committerhostboot <hostboot@us.ibm.com>2018-03-22 14:05:55 -0500
commit6a32761e1f8a5efd02c7e1d6c6ded030b1ba24e8 (patch)
treee9e2cae6df5175c6514e9783ed8a319f8867493b
parentb8b36cd661ab00c4cd1b1e4437ac3477cb084d36 (diff)
downloadtalos-hcode-6a32761e1f8a5efd02c7e1d6c6ded030b1ba24e8.tar.gz
talos-hcode-6a32761e1f8a5efd02c7e1d6c6ded030b1ba24e8.zip
PGPE: WOF Fix Pack
Fixes Clip Update hang if (WofClip and Pmin) > Psafe(Phase1&2) Fix init of activeCores/reqQuads in PGPE WOF State(Phase1+STOP) Fixes WOF Phase 2 Enable PGPE Hang(wait on Ctrl Stop Updt ACK) Use DB3 for making High Priority Pstate Request(Phase 2) Key_Cronus_Test=PM_REGRESS Change-Id: I346efad12db440e58090cba406fdc5699cd3e0a3 Original-Change-Id: I1f5c5c131004415d772584a47a6cdf2e91febea2 CQ: SW416205 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/52400 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: Michael S. Floyd <mfloyd@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/pgpe/pstate_gpe/p9_pgpe_thread_actuate_pstates.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/import/chips/p9/procedures/ppe_closed/pgpe/pstate_gpe/p9_pgpe_thread_actuate_pstates.c b/import/chips/p9/procedures/ppe_closed/pgpe/pstate_gpe/p9_pgpe_thread_actuate_pstates.c
index 4ae8e342..a578a7b6 100644
--- a/import/chips/p9/procedures/ppe_closed/pgpe/pstate_gpe/p9_pgpe_thread_actuate_pstates.c
+++ b/import/chips/p9/procedures/ppe_closed/pgpe/pstate_gpe/p9_pgpe_thread_actuate_pstates.c
@@ -180,8 +180,14 @@ void p9_pgpe_thread_actuate_pstates(void* arg)
}
}
+ //Make sure that minPS is not below(higher value/low freq-volt) than safePstate
+ minPS = (minPS > G_pgpe_pstate_record.safePstate) ? G_pgpe_pstate_record.safePstate : minPS;
+
if (G_pgpe_pstate_record.quadPSCurr[q] > G_pgpe_pstate_record.psClipMax[q] ||
- G_pgpe_pstate_record.quadPSCurr[q] < minPS)
+ G_pgpe_pstate_record.quadPSCurr[q] < minPS ||
+ G_pgpe_pstate_record.globalPSCurr > G_pgpe_pstate_record.psClipMax[q] ||
+ G_pgpe_pstate_record.globalPSCurr < minPS)
+
{
inRange = 0;
}
OpenPOWER on IntegriCloud