Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1270512
| From | Punit Agrawal <punit.agrawal@arm.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH v4 0/3] Dynamic power model from device tree |
| Date | 2015-11-16 20:40 +0100 |
| Message-ID | <qvxN7-33j-9@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Hi,
This patchset adds support to build a single-coefficient dynamic power
model for a CPU. The model is used by the CPU cooling device to
provide an estimate of power consumption and also translate allocated
power to performance cap.
Changes from previous posting -
v3 -> v4:
arm_big_little: Migrated to using static arrays
arm_big_little: Updated Kconfig to support building thermal as module
Patch 1 extends the CPU nodes binding to provide an optional dynamic
power coefficient which can be used to create a dynamic power model
for the CPUs. This model is used to constrain device power consumption
(using power_allocator governor) when the system is thermally
constrained.
Patches 2-3 extends the cpufreq-dt and arm_big_little driver to
register cpu cooling devices with the dynamic coefficient when
provided.
The patches were previously posted at [0][1][2]. Mediatek platform
8173 builds on these bindings to build the power model.
If there are no objections, I'd appreciate Acks from device tree
bindings maintainers.
Thanks,
Punit
[0] http://thread.gmane.org/gmane.linux.kernel/2002152
[1] http://thread.gmane.org/gmane.linux.kernel/2011466
[2] http://marc.info/?l=linux-kernel&m=144709020014884&w=2
Punit Agrawal (3):
devicetree: bindings: Add optional dynamic-power-coefficient property
cpufreq-dt: Supply power coefficient when registering cooling devices
cpufreq: arm_big_little: Add support to register a cpufreq cooling
device
Documentation/devicetree/bindings/arm/cpus.txt | 17 +++++++++++++
drivers/cpufreq/Kconfig.arm | 2 ++
drivers/cpufreq/arm_big_little.c | 35 ++++++++++++++++++++++++++
drivers/cpufreq/cpufreq-dt.c | 9 +++++--
4 files changed, 61 insertions(+), 2 deletions(-)
--
2.6.2
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH v4 0/3] Dynamic power model from device tree Punit Agrawal <punit.agrawal@arm.com> - 2015-11-16 20:40 +0100
[PATCH v4 3/3] cpufreq: arm_big_little: Add support to register a cpufreq cooling device Punit Agrawal <punit.agrawal@arm.com> - 2015-11-16 20:40 +0100
Re: [PATCH v4 3/3] cpufreq: arm_big_little: Add support to register a cpufreq cooling device Viresh Kumar <viresh.kumar@linaro.org> - 2015-11-17 05:50 +0100
Re: [PATCH v4 3/3] cpufreq: arm_big_little: Add support to register a cpufreq cooling device Punit Agrawal <punit.agrawal@arm.com> - 2015-11-17 12:00 +0100
Re: [PATCH v4 0/3] Dynamic power model from device tree Viresh Kumar <viresh.kumar@linaro.org> - 2015-11-17 05:40 +0100
Re: [PATCH v4 0/3] Dynamic power model from device tree Punit Agrawal <punit.agrawal@arm.com> - 2015-11-17 11:10 +0100
csiph-web