Re: [PATCH] thermal/drivers/cpufreq_cooling: Fix wrong frequency converted from power

2020-06-23 Thread Amit Kucheria
Hi Finley, Please use versioning (v2) when resending a patch. On Fri, Jun 19, 2020 at 2:39 PM Finley Xiao wrote: > > The function cpu_power_to_freq is used to find a frequency and set the > cooling device to consume at most the power to be converted. For example, > if the power to be converted i

Re: [PATCH] thermal/drivers/cpufreq_cooling: Fix wrong frequency converted from power

2020-06-22 Thread Amit Kucheria
On Fri, Jun 19, 2020 at 7:21 AM Finley Xiao wrote: > > The function cpu_power_to_freq is used to find a frequency and set the > cooling device to consume at most the power to be converted. For example, > if the power to be converted is 80mW, and the em table is as follow. > struct em_cap_state tab

[PATCH] thermal/drivers/cpufreq_cooling: Fix wrong frequency converted from power

2020-06-19 Thread Finley Xiao
The function cpu_power_to_freq is used to find a frequency and set the cooling device to consume at most the power to be converted. For example, if the power to be converted is 80mW, and the em table is as follow. struct em_cap_state table[] = { /* KHz mW */ { 1008000, 36, 0 },

Re: [PATCH] thermal/drivers/cpufreq_cooling: Fix wrong frequency converted from power

2020-06-18 Thread Viresh Kumar
On 19-06-20, 09:51, Finley Xiao wrote: > The function cpu_power_to_freq is used to find a frequency and set the > cooling device to consume at most the power to be converted. For example, > if the power to be converted is 80mW, and the em table is as follow. > struct em_cap_state table[] = { >

[PATCH] thermal/drivers/cpufreq_cooling: Fix wrong frequency converted from power

2020-06-18 Thread Finley Xiao
The function cpu_power_to_freq is used to find a frequency and set the cooling device to consume at most the power to be converted. For example, if the power to be converted is 80mW, and the em table is as follow. struct em_cap_state table[] = { /* KHz mW */ { 1008000, 36, 0 },