diff options
-rw-r--r-- | doc/device-tree/ibm,opal/power-mgt.rst | 12 | ||||
-rw-r--r-- | hw/occ.c | 2 |
2 files changed, 13 insertions, 1 deletions
diff --git a/doc/device-tree/ibm,opal/power-mgt.rst b/doc/device-tree/ibm,opal/power-mgt.rst index 8d9439d..c8c753d 100644 --- a/doc/device-tree/ibm,opal/power-mgt.rst +++ b/doc/device-tree/ibm,opal/power-mgt.rst @@ -116,7 +116,10 @@ ibm,pstate-ultra-turbo ibm,pstate-turbo --------------------------------------- These properties are added when ultra-turbo(WOF) is enabled. These properties -give the max turbo and max ultra-turbo pstate. +give the max turbo and max ultra-turbo pstate-id as specified in the +ibm,pstate-ids file. The frequencies present in turbo to ultra-turbo range are +referred to as boost/WOF frequencies and these are attained by the CPU under +favourable environmental conditions, low workloads and low active core counts. Example: @@ -134,3 +137,10 @@ ibm,pstate-core-max This property is added when ultra_turbo(WOF) is enabled. This property gives the list of max pstate for each 'n' number of active cores in the chip. +ibm,pstate-base +---------------- + +This pstate points to the base frequency of the chip. POWER9 base frequency is +the highest frequency that is guaranteed when ALL cores are active in ANY +operating condition (ie. workloads, environmental conditions such as max +ambient temperature, active core counts) @@ -703,6 +703,7 @@ static bool add_cpu_pstate_properties(struct dt_node *power_mgt, dt_add_property(power_mgt, "ibm,pstate-core-max", dt_cmax, nr_cores * sizeof(u32)); + dt_add_property_cells(power_mgt, "ibm,pstate-base", pturbo); free(dt_cmax); } @@ -1747,6 +1748,7 @@ void occ_pstates_init(void) "ibm,pstate-nominal", "ibm,pstate-turbo", "ibm,pstate-ultra-turbo", + "ibm,pstate-base", "#address-cells", "#size-cells", }; |