diff options
author | Greg Still <stillgs@us.ibm.com> | 2017-07-28 13:20:51 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2017-08-04 10:45:09 -0400 |
commit | b868cefe62ded995a0db0e791bc88796cf26a8c5 (patch) | |
tree | a702dc6ddc3c821fd7b7b206d3496aa215222030 /src/import/chips/p9/procedures/hwp/lib/p9_pstates_common.h | |
parent | 1b9910cea325b42cf0dadd071b30d648dc7092da (diff) | |
download | talos-hostboot-b868cefe62ded995a0db0e791bc88796cf26a8c5.tar.gz talos-hostboot-b868cefe62ded995a0db0e791bc88796cf26a8c5.zip |
PM: Mfg Bias fixes (tool and HWP)
- Remove Raw Pstate Table from tool output to reduce confusion after
consultation with System Characterization
- Fix negative bias formating on tool output
- Fix bias calculations in p9_pstate_parameter_block
- Add internal ceiling and floor functions due to HB CI fails
- Fixed computing raw vpd data values
- Fixed vpd order for ext bias values
- Added validation check for biased values.
- Removed fapi2.H from pstate table code and included
stdio and stdint headers..This will ease mnfg team to pick
this file directly.
Change-Id: Ieaf085869c8f2e9f76eded7479918c67518bf780
CQ: SW396980
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43918
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43919
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@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 | 7 |
1 files changed, 6 insertions, 1 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 075e48df2..fa7d49f73 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 @@ -90,13 +90,18 @@ // are warrented /// VPD #V Data from keyword (eg VPD order) -#define NUM_OP_POINTS 4 + #define NUM_JUMP_VALUES 4 #define NUM_THRESHOLD_POINTS 4 + +#define NUM_OP_POINTS 4 +#define NUM_PV_POINTS 5 #define VPD_PV_POWERSAVE 1 #define VPD_PV_NOMINAL 0 #define VPD_PV_TURBO 2 #define VPD_PV_ULTRA 3 +#define VPD_PV_POWERBUS 4 + #define VPD_PV_ORDER {VPD_PV_POWERSAVE, VPD_PV_NOMINAL, VPD_PV_TURBO, VPD_PV_ULTRA} #define VPD_PV_ORDER_STR {"Nominal ","PowerSave ", "Turbo ", "UltraTurbo"} #define VPD_THRESHOLD_ORDER_STR {"Overvolt", "Small", "Large", "Extreme" } |