Skip to content

Commit c563abb

Browse files
stillgsdcrowell77
authored andcommitted
PM: VPD in #V order and Natural Order
Change-Id: Iaa2a24d872b56b337cc34c286411329499e9816b Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/37071 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: RAHUL BATRA <rbatra@us.ibm.com> Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/37113 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>
1 parent 5123ce8 commit c563abb

File tree

2 files changed

+420
-378
lines changed

2 files changed

+420
-378
lines changed

src/import/chips/p9/procedures/hwp/lib/p9_pstates_common.h

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,15 +89,23 @@
8989
// @todo Determine what is needed here (eg Attribute mapping) and if any constants
9090
// are warrented
9191

92-
/// VPD #V Operating Points
92+
/// VPD #V Data from keyword (eg VPD order)
9393
#define VPD_PV_POINTS 4
94+
#define VPD_PV_POWERSAVE 1
95+
#define VPD_PV_NOMINAL 0
96+
#define VPD_PV_TURBO 2
97+
#define VPD_PV_ULTRA 3
98+
#define VPD_PV_ORDER {VPD_PV_POWERSAVE, VPD_PV_NOMINAL, VPD_PV_TURBO, VPD_PV_ULTRA}
9499
#define VPD_PV_ORDER_STR {"Nominal ","PowerSave ", "Turbo ", "UltraTurbo"}
95-
#define POWERSAVE 1
96-
#define NOMINAL 0
100+
101+
/// VPD #V Operating Points (eg Natureal order)
102+
#define POWERSAVE 0
103+
#define NOMINAL 1
97104
#define TURBO 2
98105
#define ULTRA 3
99106
#define POWERBUS 4
100-
#define VPD_PV_ORDER {POWERSAVE, NOMINAL, TURBO, ULTRA}
107+
#define PV_OP_ORDER {POWERSAVE, NOMINAL, TURBO, ULTRA}
108+
#define PV_OP_ORDER_STR {"PowerSave ", "Nominal ","Turbo ", "UltraTurbo"}
101109

102110
#define VPD_PV_CORE_FREQ_MHZ 0
103111
#define VPD_PV_VDD_MV 1

0 commit comments

Comments
 (0)