* Re: [PATCH V3 0/2] Thermal: cpufreq cooling fix [not found] <177643.168791363345666297.JavaMail.weblogic@epml10> @ 2013-03-15 11:14 ` amit daniel kachhap 2013-03-20 1:25 ` Zhang Rui 0 siblings, 1 reply; 4+ messages in thread From: amit daniel kachhap @ 2013-03-15 11:14 UTC (permalink / raw) To: Zhang Rui; +Cc: linux-pm, Gu1, Hongbo Zhang, amit kachhap Hi Rui, For both the patches, Acked by: Amit Daniel kachhap <amit.daniel@samsung.com> Thanks, Amit Daniel On Fri, Mar 15, 2013 at 4:37 PM, AMIT DANIEL KACHHAP <amit.daniel@samsung.com> wrote: > > > ------- Original Message ------- > Sender : Zhang Rui<rui.zhang@intel.com> > Date : Mar 12, 2013 00:33 (GMT+09:00) > Title : [PATCH V3 0/2] Thermal: cpufreq cooling fix > > cpufreq cooling uses different frequencies as different cooling states. > > But the per_cpu cpufreq_frequency_table may contain duplicate, > invalid entries, and it may be in either ascending or descending order. > And currently, code for parsing the per_cpu cpufreq_frequency_table > is used in several places and inconsistent. > > To fix this, > New code is introduce in Patch 1/2, which contains the logic > of parsing per_cpu cpufreq_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 frequency > > Patch 2/2 converts exynos_thermal driver to use the new code > introduced in Patch 1/2. > > History: > V3: fix wrong return value of get_cpu_frequency(). > fix wrong return value of get_property() when property equals GET_MAXL. > > V2: remove cpu cooling table to avoid extra memory allocation. > > V1: introduce code to convert per_cpu cpufreq_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> ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH V3 0/2] Thermal: cpufreq cooling fix 2013-03-15 11:14 ` [PATCH V3 0/2] Thermal: cpufreq cooling fix amit daniel kachhap @ 2013-03-20 1:25 ` Zhang Rui 2013-03-20 5:45 ` amit kachhap 0 siblings, 1 reply; 4+ messages in thread From: Zhang Rui @ 2013-03-20 1:25 UTC (permalink / raw) To: amit daniel kachhap; +Cc: linux-pm, Gu1, Hongbo Zhang, amit kachhap Hi, Amit, On Fri, 2013-03-15 at 16:44 +0530, amit daniel kachhap wrote: > Hi Rui, > > For both the patches, > Acked by: Amit Daniel kachhap <amit.daniel@samsung.com> > thanks. Do you have a chance to test these patches? -rui > Thanks, > Amit Daniel > > On Fri, Mar 15, 2013 at 4:37 PM, AMIT DANIEL KACHHAP > <amit.daniel@samsung.com> wrote: > > > > > > ------- Original Message ------- > > Sender : Zhang Rui<rui.zhang@intel.com> > > Date : Mar 12, 2013 00:33 (GMT+09:00) > > Title : [PATCH V3 0/2] Thermal: cpufreq cooling fix > > > > cpufreq cooling uses different frequencies as different cooling states. > > > > But the per_cpu cpufreq_frequency_table may contain duplicate, > > invalid entries, and it may be in either ascending or descending order. > > And currently, code for parsing the per_cpu cpufreq_frequency_table > > is used in several places and inconsistent. > > > > To fix this, > > New code is introduce in Patch 1/2, which contains the logic > > of parsing per_cpu cpufreq_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 frequency > > > > Patch 2/2 converts exynos_thermal driver to use the new code > > introduced in Patch 1/2. > > > > History: > > V3: fix wrong return value of get_cpu_frequency(). > > fix wrong return value of get_property() when property equals GET_MAXL. > > > > V2: remove cpu cooling table to avoid extra memory allocation. > > > > V1: introduce code to convert per_cpu cpufreq_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> > -- > To unsubscribe from this list: send the line "unsubscribe linux-pm" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH V3 0/2] Thermal: cpufreq cooling fix 2013-03-20 1:25 ` Zhang Rui @ 2013-03-20 5:45 ` amit kachhap 0 siblings, 0 replies; 4+ messages in thread From: amit kachhap @ 2013-03-20 5:45 UTC (permalink / raw) To: Zhang Rui; +Cc: linux-pm, Gu1, Hongbo Zhang On Wed, Mar 20, 2013 at 6:55 AM, Zhang Rui <rui.zhang@intel.com> wrote: > Hi, Amit, > > On Fri, 2013-03-15 at 16:44 +0530, amit daniel kachhap wrote: >> Hi Rui, >> >> For both the patches, >> Acked by: Amit Daniel kachhap <amit.daniel@samsung.com> >> > 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 <amit.daniel@samsung.com> Thanks, Amit Daniel > > -rui > >> Thanks, >> Amit Daniel >> >> On Fri, Mar 15, 2013 at 4:37 PM, AMIT DANIEL KACHHAP >> <amit.daniel@samsung.com> wrote: >> > >> > >> > ------- Original Message ------- >> > Sender : Zhang Rui<rui.zhang@intel.com> >> > Date : Mar 12, 2013 00:33 (GMT+09:00) >> > Title : [PATCH V3 0/2] Thermal: cpufreq cooling fix >> > >> > cpufreq cooling uses different frequencies as different cooling states. >> > >> > But the per_cpu cpufreq_frequency_table may contain duplicate, >> > invalid entries, and it may be in either ascending or descending order. >> > And currently, code for parsing the per_cpu cpufreq_frequency_table >> > is used in several places and inconsistent. >> > >> > To fix this, >> > New code is introduce in Patch 1/2, which contains the logic >> > of parsing per_cpu cpufreq_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 frequency >> > >> > Patch 2/2 converts exynos_thermal driver to use the new code >> > introduced in Patch 1/2. >> > >> > History: >> > V3: fix wrong return value of get_cpu_frequency(). >> > fix wrong return value of get_property() when property equals GET_MAXL. >> > >> > V2: remove cpu cooling table to avoid extra memory allocation. >> > >> > V1: introduce code to convert per_cpu cpufreq_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> >> -- >> To unsubscribe from this list: send the line "unsubscribe linux-pm" in >> the body of a message to majordomo@vger.kernel.org >> More majordomo info at http://vger.kernel.org/majordomo-info.html > > ^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH V3 0/2] Thermal: cpufreq cooling fix @ 2013-03-11 15:33 Zhang Rui 0 siblings, 0 replies; 4+ messages in thread From: Zhang Rui @ 2013-03-11 15:33 UTC (permalink / raw) To: linux-pm; +Cc: amit.daniel, gu1, hongbo.zhang, Zhang Rui cpufreq cooling uses different frequencies as different cooling states. But the per_cpu cpufreq_frequency_table may contain duplicate, invalid entries, and it may be in either ascending or descending order. And currently, code for parsing the per_cpu cpufreq_frequency_table is used in several places and inconsistent. To fix this, New code is introduce in Patch 1/2, which contains the logic of parsing per_cpu cpufreq_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 frequency Patch 2/2 converts exynos_thermal driver to use the new code introduced in Patch 1/2. History: V3: fix wrong return value of get_cpu_frequency(). fix wrong return value of get_property() when property equals GET_MAXL. V2: remove cpu cooling table to avoid extra memory allocation. V1: introduce code to convert per_cpu cpufreq_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 ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-03-20 5:45 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <177643.168791363345666297.JavaMail.weblogic@epml10> 2013-03-15 11:14 ` [PATCH V3 0/2] Thermal: cpufreq cooling fix amit daniel kachhap 2013-03-20 1:25 ` Zhang Rui 2013-03-20 5:45 ` amit kachhap 2013-03-11 15:33 Zhang Rui
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).