diff options
author | Rahul Batra <rbatra@us.ibm.com> | 2016-10-06 23:00:14 -0500 |
---|---|---|
committer | Christian R. Geddes <crgeddes@us.ibm.com> | 2016-11-10 11:07:13 -0500 |
commit | c52fc60516b6346cb06f05f438adb1c1c771e6b7 (patch) | |
tree | acb1cb584b1752cbf694983e496b3837c4cd1dda /src/import/chips/p9/procedures/hwp/lib/p9_pstates_table.h | |
parent | 8053357f7fe7c6be1c624e3df04b608d2d4e765d (diff) | |
download | talos-hostboot-c52fc60516b6346cb06f05f438adb1c1c771e6b7.tar.gz talos-hostboot-c52fc60516b6346cb06f05f438adb1c1c771e6b7.zip |
PGPE: PState Updates
-Added code for Pstate Table generation and write it to HOMER
-Added temp. code to mimic boot process, i.e. copy Global Pstate
Parameter Block
-Added code to check for OCC_FLAG[PGPE_DEBUG_ENABLEMENT]
-Added code to write to PGPE beacon periodically using FIT
Change-Id: I8b2cee1b30d7ef56ee47a9432330a16c4cb1b989
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30850
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/32400
Reviewed-by: Hostboot Team <hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-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_table.h')
-rw-r--r-- | src/import/chips/p9/procedures/hwp/lib/p9_pstates_table.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/import/chips/p9/procedures/hwp/lib/p9_pstates_table.h b/src/import/chips/p9/procedures/hwp/lib/p9_pstates_table.h index a4432c4bd..e286f0991 100644 --- a/src/import/chips/p9/procedures/hwp/lib/p9_pstates_table.h +++ b/src/import/chips/p9/procedures/hwp/lib/p9_pstates_table.h @@ -46,7 +46,8 @@ /// on the fly during Pstate protocol execution based on the Pstate Parameter /// Block content. -static const uint32_t MAX_PSTATE_TABLE_ENTRIES = 128; +#define MAX_PSTATE_TABLE_ENTRIES 128 +#define GEN_PSTATES_TBL_MAGIC 0x50535441424c3030 //PSTABL00 (last two ASCII characters indicate version number) #ifdef __cplusplus extern "C" { @@ -121,6 +122,14 @@ typedef struct /// as the raw_pstates content. PstateTable biased_pstates[MAX_PSTATE_TABLE_ENTRIES]; + ///VPD Operating points generated after applying biases + VpdOperatingPoint operating_points_biased[VPD_PV_POINTS]; + + ///VPD Operating points generated after applying system parameters + VpdOperatingPoint operating_points_sysp[VPD_PV_POINTS]; + + ///VPD Operating points generated after applying system parameters and biases + VpdOperatingPoint operating_points_biased_sysp[VPD_PV_POINTS]; } GeneratedPstateInfo; |