diff options
author | Prasad Bg Ranganath <prasadbgr@in.ibm.com> | 2017-02-01 04:25:08 -0600 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2017-03-17 11:32:03 -0400 |
commit | c02404bc31d5e1772ed2688f22535633f11f7356 (patch) | |
tree | c8081496c047f9da9646af1f121235707eec6484 /src/import/chips/p9/procedures/hwp/lib/p9_pstates_cmeqm.h | |
parent | f1f81170d75cfbbc44d7f7d11b63f24367ddf7a7 (diff) | |
download | talos-hostboot-c02404bc31d5e1772ed2688f22535633f11f7356.tar.gz talos-hostboot-c02404bc31d5e1772ed2688f22535633f11f7356.zip |
p9_pstate_parameter_block: access #W and populate parameter block stucture
Change-Id: I2d996c848d893074cec0eb74408b3300b60ff1d9
RTC:167146
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35721
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@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/35723
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_cmeqm.h')
-rw-r--r-- | src/import/chips/p9/procedures/hwp/lib/p9_pstates_cmeqm.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/import/chips/p9/procedures/hwp/lib/p9_pstates_cmeqm.h b/src/import/chips/p9/procedures/hwp/lib/p9_pstates_cmeqm.h index 6a7cab9b1..35113b73c 100644 --- a/src/import/chips/p9/procedures/hwp/lib/p9_pstates_cmeqm.h +++ b/src/import/chips/p9/procedures/hwp/lib/p9_pstates_cmeqm.h @@ -163,7 +163,37 @@ typedef struct ResonantClockControl } ResonantClockingSetup; +// #W data points (version 2) +typedef struct +{ + uint16_t ivdd_tdp_ac_current_10ma; + uint16_t ivdd_tdp_dc_current_10ma; + uint8_t vdm_overvold_small_thresholds; + uint8_t vdm_large_extreme_thresholds; + uint8_t vdm_small_frequency_drop; + uint8_t vdm_large_frequency_drop; + uint16_t vdm_spare; +} poundw_entry_t; +typedef struct +{ + uint16_t r_package_common; + uint16_t r_quad; + uint16_t r_core; + uint16_t r_quad_header; + uint16_t r_core_header; +} resistance_entry_t; + +typedef struct +{ + poundw_entry_t poundw_nominal; + poundw_entry_t poundw_powersave; + poundw_entry_t poundw_turbo; + poundw_entry_t poundw_ultraturbo; + resistance_entry_t resistance_data; + uint64_t reserved1; + uint16_t reserved2; +} PoundW_data; /// VDM/Droop Parameter Block /// typedef struct |