summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9/procedures/hwp/lib/p9_pstates_common.h
diff options
context:
space:
mode:
authorPrasad Bg Ranganath <prasadbgr@in.ibm.com>2017-01-24 11:02:45 -0600
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-02-22 09:58:45 -0500
commit23444ce58981c6b842111d45c0c2845101d7ff78 (patch)
treefb59086a5f0524eab2e18ceb9ce0c79bb0dfc038 /src/import/chips/p9/procedures/hwp/lib/p9_pstates_common.h
parente8cf80c1842e44aba8de0502f01f6e21ecadd9ba (diff)
downloadtalos-hostboot-23444ce58981c6b842111d45c0c2845101d7ff78.tar.gz
talos-hostboot-23444ce58981c6b842111d45c0c2845101d7ff78.zip
pstate parameter block: precalculated slopes
- rebased Change-Id: I5a0fe6006ee6270581c486362b07eaa1e0576502 RTC:162554 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35341 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: SUDHEENDRA K. SRIVATHSA <sudheendraks@in.ibm.com> Dev-Ready: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: RAHUL BATRA <rbatra@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35343 Tested-by: Jenkins OP Build CI <op-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.h9
1 files changed, 9 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 9bf136cec..bc90d7231 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
@@ -116,6 +116,15 @@
#define REGION_NOMINAL_TURBO 0
#define REGION_TURBO_ULTRA 2
+// Different points considered for calculating slopes
+#define NUM_VPD_PTS_SET 4
+#define VPD_PT_SET_RAW 0
+#define VPD_PT_SET_SYSP 1
+#define VPD_PT_SET_BIASED 2
+#define VPD_PT_SET_BIASED_SYSP 3
+
+#define EVID_SLOPE_FP_SHIFT 13
+
/// IDDQ readings,
#define IDDQ_MEASUREMENTS 6
OpenPOWER on IntegriCloud