From bb435dd016ac81590cb44e4ac32840fd61b5449d Mon Sep 17 00:00:00 2001 From: Greg Still Date: Fri, 28 Jul 2017 13:20:51 -0500 Subject: 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 Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA Tested-by: Hostboot CI Reviewed-by: Jennifer A. Stofer --- import/chips/p9/procedures/hwp/lib/p9_pstates_common.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/import/chips/p9/procedures/hwp/lib/p9_pstates_common.h b/import/chips/p9/procedures/hwp/lib/p9_pstates_common.h index cbe5758a..5aa0ad91 100644 --- a/import/chips/p9/procedures/hwp/lib/p9_pstates_common.h +++ b/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" } -- cgit v1.2.3