diff options
author | Prasad Bg Ranganath <prasadbgr@in.ibm.com> | 2017-03-21 04:57:38 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2017-05-03 23:59:06 -0400 |
commit | c5e7b264aa4708fd9641a287a53441390bf2b325 (patch) | |
tree | a026daedf262761b0ce82bf3317e2352df4b066e /src/import/chips/p9/procedures/hwp/lib | |
parent | 47a1a8506dd08db2e564d025ccc21ae030044838 (diff) | |
download | talos-hostboot-c5e7b264aa4708fd9641a287a53441390bf2b325.tar.gz talos-hostboot-c5e7b264aa4708fd9641a287a53441390bf2b325.zip |
WOF: VRM timing, WOF and VDM enblement attributes additions
Change-Id: I1ff55edf512f1a3ec4b6b1c1773726e31ae2e611
RTC:169800
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38207
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: AMIT KUMAR <akumar3@us.ibm.com>
Reviewed-by: Michael S. Floyd <mfloyd@us.ibm.com>
Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38310
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Tested-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/import/chips/p9/procedures/hwp/lib')
4 files changed, 18 insertions, 5 deletions
diff --git a/src/import/chips/p9/procedures/hwp/lib/p9_hcd_memmap_base.H b/src/import/chips/p9/procedures/hwp/lib/p9_hcd_memmap_base.H index c5e97a696..54ee44d63 100644 --- a/src/import/chips/p9/procedures/hwp/lib/p9_hcd_memmap_base.H +++ b/src/import/chips/p9/procedures/hwp/lib/p9_hcd_memmap_base.H @@ -364,7 +364,8 @@ HCD_CONST(CME_QUEUED_SCAN_DISABLE_BIT_POS, 0x00000002) HCD_CONST(CME_SKIP_CORE_POWEROFF_BIT_POS, 0x00000001) HCD_CONST(CME_QM_FLAG_RESCLK_ENABLE, 0x8000) HCD_CONST(CME_QM_FLAG_SYS_IVRM_ENABLE, 0x4000) -HCD_CONST(CME_QM_FLAG_SYS_WOF_ENABLE, 0x2000) +HCD_CONST(CME_QM_FLAG_SYS_VDM_ENABLE, 0x2000) +HCD_CONST(CME_QM_FLAG_SYS_WOF_ENABLE, 0x1000) /// CME Hcode @@ -399,6 +400,7 @@ HCD_CONST(CPMR_DEBUG_REGION_OFFSET, CPMR_TRACE_REGION_OFFSET + CPMR_ HCD_CONST(CPMR_DEBUG_REGION_SIZE, (64 * ONE_KB)) // 192K + 64K = 256K + //--------------------------------------------------------------------------------------- /// PPMR Header diff --git a/src/import/chips/p9/procedures/hwp/lib/p9_pm_hcd_flags.h b/src/import/chips/p9/procedures/hwp/lib/p9_pm_hcd_flags.h index 16f40325c..44b50df67 100644 --- a/src/import/chips/p9/procedures/hwp/lib/p9_pm_hcd_flags.h +++ b/src/import/chips/p9/procedures/hwp/lib/p9_pm_hcd_flags.h @@ -149,9 +149,17 @@ typedef union pgpe_flags uint16_t dpll_droop_protect_enable : 1; uint16_t reserved7 : 1; uint16_t occ_ipc_immed_response : 1; - uint16_t reserved_9_15 : 7; + uint16_t wof_ipc_immed_response : 1; + uint16_t enable_fratio : 1; + uint16_t enable_vratio : 1; + uint16_t vratio_modifier : 1; + uint16_t reserved_13_15 : 7; #else - uint16_t reserved_9_15 : 7; + uint16_t reserved_13_15 : 7; + uint16_t vratio_modifier : 1; + uint16_t enable_vratio : 1; + uint16_t enable_fratio : 1; + uint16_t wof_ipc_immed_response : 1; uint16_t occ_ipc_immed_response : 1; uint16_t reserved7 : 1; uint16_t dpll_droop_protect_enable : 1; 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 f339a6276..a45f93fcc 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 @@ -418,7 +418,7 @@ typedef struct __attribute__((__packed__)) WofTablesHeader typedef struct __attribute__((__packed__)) HomerSysVFRTLayout { VFRTHeaderLayout_t vfrtHeader; - uint8_t vfrt_data[VFRT_VRATIO_SIZE][VFRT_FRATIO_SIZE]; + uint8_t vfrt_data[VFRT_FRATIO_SIZE][VFRT_VRATIO_SIZE]; } HomerSysVFRTLayout_t; @@ -427,7 +427,7 @@ typedef struct __attribute__((__packed__)) HomerSysVFRTLayout typedef struct __attribute__((__packed__)) HomerVFRTLayout { VFRTHeaderLayout_t vfrtHeader; - uint8_t vfrt_data[VFRT_VRATIO_SIZE][VFRT_FRATIO_SIZE]; + uint8_t vfrt_data[VFRT_FRATIO_SIZE][VFRT_VRATIO_SIZE]; uint8_t padding[128]; } HomerVFRTLayout_t; diff --git a/src/import/chips/p9/procedures/hwp/lib/p9_pstates_pgpe.h b/src/import/chips/p9/procedures/hwp/lib/p9_pstates_pgpe.h index a6cd8b943..a089611cb 100644 --- a/src/import/chips/p9/procedures/hwp/lib/p9_pstates_pgpe.h +++ b/src/import/chips/p9/procedures/hwp/lib/p9_pstates_pgpe.h @@ -244,6 +244,9 @@ typedef struct /// All operating points VpdOperatingPoint operating_points_set[NUM_VPD_PTS_SET][VPD_PV_POINTS]; + //DPLL pstate 0 value + uint32_t dpll_pstate0_value; + // @todo DPLL Droop Settings. These need communication to SGPE for STOP } GlobalPstateParmBlock; |