linux_dsm_epyc7002/arch/arm64/boot/dts/arm
Dietmar Eggemann 4daa001a17 arm64: dts: juno: Add cpu dynamic-power-coefficient information
A CPUfreq driver, like the scpi driver used on Juno boards, which
provide the Energy Model with power cost information via the PM_OPP
of_dev_pm_opp_get_cpu_power() function, do need the
dynamic-power-coefficient (C) in the device tree.

Method used to obtain the C value:

C is computed by measuring energy (E) consumption of a frequency domain
(FD) over a 10s runtime (t) sysbench workload running at each Operating
Performance Point (OPP) affine to 1 or 2 CPUs of that FD while the other
CPUs of the system are hotplugged out.

By definition all CPUs of a FD have the the same micro-architecture. An
OPP is characterized by a certain frequency (f) and voltage (V) value.
The corresponding power values (P) are calculated by dividing the delta
of the E values between the runs with 2 and 1 CPUs by t.

With n data tuples (P, f, V), n equal to number of OPPs for this
frequency domain, we can solve C by:

P = Pstat + Pdyn

P = Pstat + CV²f

Cx = (Px - P1)/(Vx²fx - V1²f1) with x = {2, ..., n}

The C value is the arithmetic mean out of {C2, ..., Cn}.

Since DVFS is broken on Juno r1, no dynamic-power-coefficient
information has been added to its dts file.

Signed-off-by: Dietmar Eggemann <dietmar.eggemann@arm.com>
Signed-off-by: Quentin Perret <quentin.perret@arm.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
2019-01-29 15:31:37 +00:00
..
foundation-v8-gicv2.dtsi arm64: dts: juno/fast models: using GIC macros instead of hardcoded values 2019-01-29 14:39:46 +00:00
foundation-v8-gicv3-psci.dts arm64: dts: foundation-v8: Enable PSCI mode 2017-10-03 15:10:17 +01:00
foundation-v8-gicv3.dts ARM: Device-tree updates for 4.15 2017-11-16 15:48:26 -08:00
foundation-v8-gicv3.dtsi arm64: dts: juno/fast models: using GIC macros instead of hardcoded values 2019-01-29 14:39:46 +00:00
foundation-v8-psci.dts arm64: dts: foundation-v8: Enable PSCI mode 2017-10-03 15:10:17 +01:00
foundation-v8-psci.dtsi arm64: dts: foundation-v8: Enable PSCI mode 2017-10-03 15:10:17 +01:00
foundation-v8-spin-table.dtsi arm64: dts: foundation-v8: Enable PSCI mode 2017-10-03 15:10:17 +01:00
foundation-v8.dts ARM: Device-tree updates for 4.15 2017-11-16 15:48:26 -08:00
foundation-v8.dtsi arm64: dts: juno/fast models: using GIC macros instead of hardcoded values 2019-01-29 14:39:46 +00:00
fvp-base-revc.dts arm64: dts: fast models: Add DTS fo Base RevC FVP 2019-01-29 14:40:27 +00:00
juno-base.dtsi arm64: dts: juno/fast models: sort couple of device nodes 2019-01-29 14:40:13 +00:00
juno-clocks.dtsi arm64: dts: juno: remove dtsi nesting inside tree structure 2017-01-18 11:14:07 +00:00
juno-cs-r1r2.dtsi arm64: dts: juno: Update entries to match latest coresight bindings 2018-09-10 10:27:41 +01:00
juno-motherboard.dtsi arm64: dts: juno/rtsm: re-structure motherboard includes 2018-05-10 11:01:56 +01:00
juno-r1.dts arm64: dts: Fix various entry-method properties to reflect documentation 2018-08-24 08:50:02 -07:00
juno-r2.dts arm64: dts: juno: Add cpu dynamic-power-coefficient information 2019-01-29 15:31:37 +00:00
juno.dts arm64: dts: juno: Add cpu dynamic-power-coefficient information 2019-01-29 15:31:37 +00:00
Makefile arm64: dts: fast models: Add DTS fo Base RevC FVP 2019-01-29 14:40:27 +00:00
rtsm_ve-aemv8a.dts arm64: dts: juno/fast models: using GIC macros instead of hardcoded values 2019-01-29 14:39:46 +00:00
rtsm_ve-motherboard-rs2.dtsi arm64: dts: fast models: Add DTS fo Base RevC FVP 2019-01-29 14:40:27 +00:00
rtsm_ve-motherboard.dtsi arm64: dts: juno/fast models: sort couple of device nodes 2019-01-29 14:40:13 +00:00
vexpress-v2f-1xv7-ca53x2.dts ARM: dts: Modernize the Vexpress PL111 integration 2018-11-29 08:31:41 +01:00
vexpress-v2m-rs1.dtsi ARM64: dts: vexpress: Use a symlink to vexpress-v2m-rs1.dtsi from arch=arm 2015-10-14 17:55:50 +02:00