Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1263723

Re: [PATCH v3 1/2] thermal: mediatek: Add cpu power cooling model.

From Viresh Kumar <viresh.kumar@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH v3 1/2] thermal: mediatek: Add cpu power cooling model.
Date 2015-11-06 04:30 +0100
Message-ID <qrFSV-7wi-5@gated-at.bofh.it> (permalink)
References <qmmQW-1Wt-17@gated-at.bofh.it> <qmmQX-1Wt-43@gated-at.bofh.it> <qrcee-4Ne-13@gated-at.bofh.it> <qrqKf-5R7-37@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Cc'ing Javi (which you should have as he wrote the power-thing for
cpu-cooling).

On 05-11-15, 19:10, dawei chien wrote:
> This is because our platform currently only support mt8173_cpufreq.c, so
> that I only add static power model for our owner IC.

Bindings are (normally) supposed to be general than a platform
specific.

> Please understanding that I wouldn't give a DT binding document since I
> will remove static power table on next version, but I can try to explain
> it.

Then just don't add things in the first place.

> As far as I know, static power is somewhat leakage of CPU clusters, so
> that we hardly to find a formula, which can suitable all kinds of CPUs
> since leakage is different. In ARM IPA framework, static power only need
> to be defined by who register cpufreq_power_cooling_register. The
> voltage/power table is just one way to present leakage power of CPUs.

The bindings don't fix the values for static power, but just provides
a field for platforms to use. Everyone can then send its own power
figures. Why do you thing it can't be generalized?

> Actually, static power is optional since dynamic power is much more than
> static power.

Maybe, we should still capture it.

@Javi ?

-- 
viresh
--
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 | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH v3 1/2] thermal: mediatek: Add cpu power cooling model. Eduardo Valentin <edubezval@gmail.com> - 2015-11-04 20:50 +0100
  Re: [PATCH v3 1/2] thermal: mediatek: Add cpu power cooling model. dawei chien <dawei.chien@mediatek.com> - 2015-11-05 12:20 +0100
    Re: [PATCH v3 1/2] thermal: mediatek: Add cpu power cooling model. Viresh Kumar <viresh.kumar@linaro.org> - 2015-11-06 04:30 +0100
      Re: [PATCH v3 1/2] thermal: mediatek: Add cpu power cooling model. Javi Merino <javi.merino@arm.com> - 2015-11-10 12:30 +0100
        Re: [PATCH v3 1/2] thermal: mediatek: Add cpu power cooling model. Eduardo Valentin <edubezval@gmail.com> - 2015-11-10 19:50 +0100
          Re: [PATCH v3 1/2] thermal: mediatek: Add cpu power cooling model. Javi Merino <javi.merino@arm.com> - 2015-11-11 10:40 +0100
        Re: [PATCH v3 1/2] thermal: mediatek: Add cpu power cooling model. Viresh Kumar <viresh.kumar@linaro.org> - 2015-11-13 06:10 +0100

csiph-web