Thermal: cpufreq cooling fix
Hi Rui,
For both the patches,
Acked by: Amit Daniel kachhap <[email protected]>
Thanks,
Amit Daniel
Quoted 42 lines · AMIT DANIEL KACHHAP
------- Original Message -------
Sender : Zhang Rui<[email protected]>
Date : Mar 12, 2013 00:33 (GMT+09:00)
Title : [PATCH V3 0/2] Thermal: cpufreq cooling fixcpufreq cooling uses different frequencies as different cooling states.
But the
per_cpucpufreq_frequency_tablemay contain duplicate, invalid entries, and it may be in either ascending or descending order. And currently, code for parsing theper_cpucpufreq_frequency_tableis used in several places and inconsistent.To fix this,
New code is introduce in Patch 1/2, which contains the logic of parsingper_cpucpufreq_frequency_table, and this piece of code can be used to:
1. get the maximum cooling states
2. translate cpu frequency to cooling state
3. translate cooling state to cpu frequencyPatch 2/2 converts
exynos_thermaldriver to use the new code introduced in Patch 1/2.History:
V3: fix wrong return value ofget_cpu_frequency().
fix wrong return value ofget_property()when property equalsGET_MAXL.V2: remove cpu cooling table to avoid extra memory allocation.
V1: introduce code to convert
per_cpucpufreq_frequency_table
to clean cpu cooling table (no invalid entry, no duplicate entry, in descending order).I just run build test here. It would be great that some of you can test it on exynos.
any comments?thanks,
rui
<p> </p><p> </p>
Hi, Amit,
Quoted 5 lines · amit daniel kachhap
Hi Rui,
For both the patches,
Acked by: Amit Daniel kachhap <[email protected]>
thanks. Do you have a chance to test these patches?
-rui
Quoted 51 lines
Thanks,
Amit DanielQuoted 35 lines · AMIT DANIEL KACHHAP
------- Original Message -------
Sender : Zhang Rui<[email protected]>
Date : Mar 12, 2013 00:33 (GMT+09:00)
Title : [PATCH V3 0/2] Thermal: cpufreq cooling fixcpufreq cooling uses different frequencies as different cooling states.
But the
per_cpucpufreq_frequency_tablemay contain duplicate, invalid entries, and it may be in either ascending or descending order. And currently, code for parsing theper_cpucpufreq_frequency_tableis used in several places and inconsistent.To fix this,
New code is introduce in Patch 1/2, which contains the logic of parsingper_cpucpufreq_frequency_table, and this piece of code can be used to:
1. get the maximum cooling states
2. translate cpu frequency to cooling state
3. translate cooling state to cpu frequencyPatch 2/2 converts
exynos_thermaldriver to use the new code introduced in Patch 1/2.History:
V3: fix wrong return value ofget_cpu_frequency().
fix wrong return value ofget_property()when property equalsGET_MAXL.V2: remove cpu cooling table to avoid extra memory allocation.
V1: introduce code to convert
per_cpucpufreq_frequency_table
to clean cpu cooling table (no invalid entry, no duplicate entry, in descending order).Quoted 7 lines
I just run build test here. It would be great that some of you can test it on exynos.
any comments?thanks,
rui
<p> </p><p> </p>--
To unsubscribe from this list: send the line "unsubscribe linux-pm" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 9 lines · Zhang Rui
Hi, Amit,
Quoted 5 lines · amit daniel kachhap
Hi Rui,
For both the patches,
Acked by: Amit Daniel kachhap <[email protected]>thanks. Do you have a chance to test these patches?
yes I tested them and they are fine.
Feel free to add,
Tested by: Amit Daniel kachhap <[email protected]>
Thanks,
Amit Daniel
Quoted 56 lines
-rui
Quoted 51 lines
Thanks,
Amit DanielQuoted 35 lines · AMIT DANIEL KACHHAP
------- Original Message -------
Sender : Zhang Rui<[email protected]>
Date : Mar 12, 2013 00:33 (GMT+09:00)
Title : [PATCH V3 0/2] Thermal: cpufreq cooling fixcpufreq cooling uses different frequencies as different cooling states.
But the
per_cpucpufreq_frequency_tablemay contain duplicate, invalid entries, and it may be in either ascending or descending order. And currently, code for parsing theper_cpucpufreq_frequency_tableis used in several places and inconsistent.To fix this,
New code is introduce in Patch 1/2, which contains the logic of parsingper_cpucpufreq_frequency_table, and this piece of code can be used to:
1. get the maximum cooling states
2. translate cpu frequency to cooling state
3. translate cooling state to cpu frequencyPatch 2/2 converts
exynos_thermaldriver to use the new code introduced in Patch 1/2.History:
V3: fix wrong return value ofget_cpu_frequency().
fix wrong return value ofget_property()when property equalsGET_MAXL.V2: remove cpu cooling table to avoid extra memory allocation.
V1: introduce code to convert
per_cpucpufreq_frequency_table
to clean cpu cooling table (no invalid entry, no duplicate entry, in descending order).Quoted 7 lines
I just run build test here. It would be great that some of you can test it on exynos.
any comments?thanks,
rui
<p> </p><p> </p>--
To unsubscribe from this list: send the line "unsubscribe linux-pm" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html