diff options
author | Greg Still <stillgs@us.ibm.com> | 2017-11-07 10:15:07 -0600 |
---|---|---|
committer | Christian R. Geddes <crgeddes@us.ibm.com> | 2017-11-13 10:59:38 -0500 |
commit | 361addb254f652a949d20611dac5fa612827374b (patch) | |
tree | 226bc95add5c24fbbc121c361bda51e2d1100f8f /src/import/chips/p9/procedures/hwp/lib/p9_pstates_common.h | |
parent | 86f2ee342aa07201ff5ca286bf3d30eaea785c6a (diff) | |
download | talos-hostboot-361addb254f652a949d20611dac5fa612827374b.tar.gz talos-hostboot-361addb254f652a949d20611dac5fa612827374b.zip |
Pstate Parameter Block/Setup Evid: Safe Pstate Fix
- Use the correct jump field (L_S) for setting safe mode (split variables for
better understanding (HWP)
- General rearrangement of the safe mode calculations to perform proper voltage
uplift (HWP)
- Added HWP only consumed elements to common headers (no co-reqs with Hcode!)
- Correct VDN and VCS voltage handling for biases
- Added VDM jump values to the GPPB for dumping via memory tools. Proven useful
for VDM debug.
- Fix biases
- Deal with Cronus manual mode setting of Safe Mode
- Add check that Safe Mode is not above UltraTurbo
- Clip freq2pState to positive frequencies
- Add check that Boot Frequency is not above UltraTurbo
Key_Cronus_Test=PM_REGRESS
Change-Id: Ie300c54629d9e97bb5d265db7a00845b2106bd02
HW-Image-Prereq: 975c737f700fb8afd5d2ab416058fcc832dc92a4
CQ: SW405402
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/49396
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+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: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com>
Reviewed-by: Brian T. Vanderpool <vanderp@us.ibm.com>
Reviewed-by: Michael S. Floyd <mfloyd@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/49405
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
Diffstat (limited to 'src/import/chips/p9/procedures/hwp/lib/p9_pstates_common.h')
-rw-r--r-- | src/import/chips/p9/procedures/hwp/lib/p9_pstates_common.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/import/chips/p9/procedures/hwp/lib/p9_pstates_common.h b/src/import/chips/p9/procedures/hwp/lib/p9_pstates_common.h index fa7d49f73..bc46c3445 100644 --- a/src/import/chips/p9/procedures/hwp/lib/p9_pstates_common.h +++ b/src/import/chips/p9/procedures/hwp/lib/p9_pstates_common.h @@ -94,6 +94,32 @@ #define NUM_JUMP_VALUES 4 #define NUM_THRESHOLD_POINTS 4 +// @todo RTC 181607 +// This is synchronization work-around to avoid a co-req update between CME Hcode +// and the Pstate Parameter Block. The CME uses "IDX" while these use "INDEX". +// In the future, these should be common between the two platforms. +// +// As this file is included in both platforms, the definition below can be used +// in the CME Hcode and the "IDX" versions deprecated once this file version +// is included in both platforms. +#ifndef __ASSEMBLER__ +typedef enum +{ + VDM_OVERVOLT_INDEX = 0, + VDM_SMALL_INDEX = 1, + VDM_LARGE_INDEX = 2, + VDM_XTREME_INDEX = 3 +} VDM_THRESHOLD_INDEX; + +typedef enum +{ + VDM_N_S_INDEX = 0, + VDM_N_L_INDEX = 1, + VDM_L_S_INDEX = 2, + VDM_S_N_INDEX = 3 +} VDM_JUMP_VALUE_INDEX; +#endif + #define NUM_OP_POINTS 4 #define NUM_PV_POINTS 5 #define VPD_PV_POWERSAVE 1 |