summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Still <stillgs@us.ibm.com>2017-07-28 13:20:51 -0500
committerJoshua Hunsberger <jahunsbe@us.ibm.com>2017-10-23 18:38:49 -0500
commitbb435dd016ac81590cb44e4ac32840fd61b5449d (patch)
tree9896d22d523e11d8b25532551703e968cb7e5621
parentc73e7296d1fe4a1f2b0d074bdfe5402efda10c2f (diff)
downloadtalos-hcode-bb435dd016ac81590cb44e4ac32840fd61b5449d.tar.gz
talos-hcode-bb435dd016ac81590cb44e4ac32840fd61b5449d.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>
-rw-r--r--import/chips/p9/procedures/hwp/lib/p9_pstates_common.h7
1 files changed, 6 insertions, 1 deletions
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" }
OpenPOWER on IntegriCloud