* Re: How to enable dvfs in omap.
2011-02-12 11:51 ` Nishanth Menon
@ 2011-02-12 12:21 ` Mohamed Thalib H
2011-02-13 15:09 ` Kahn, Gery
2011-02-13 15:38 ` Koen Kooi
2 siblings, 0 replies; 11+ messages in thread
From: Mohamed Thalib H @ 2011-02-12 12:21 UTC (permalink / raw)
To: Nishanth Menon; +Cc: Santosh Shilimkar, OMAP-KML
On Saturday 12 February 2011 05:21 PM, Nishanth Menon wrote:
> Mohamed Thalib H wrote, on 02/12/2011 04:42 PM:
>> Hi Santosh,
>>
>> Thanks for the help .
>>
>> Regareds,
>> Mohamed Thalib H.
>>
>> On Saturday 12 February 2011 04:27 PM, Santosh Shilimkar wrote:
>>>> -----Original Message-----
>>>> From: linux-omap-owner@vger.kernel.org [mailto:linux-omap-
>>>> owner@vger.kernel.org] On Behalf Of Mohamed Thalib H
>>>> Sent: Saturday, February 12, 2011 4:20 PM
>>>> To: OMAP-KML
>>>> Subject: How to enable dvfs in omap.
>>>>
>>>> Hi all,
>>>>
>>>> I am using omap 2.6.37 running overo board. I have enabled the
>>>> following
>>>> option in the kernel menunconfig,
>>>>
>>>>
>>>> CPU Power Management --->
>>>> │ │ [*] CPU Frequency scaling
>>>> │ │ [ ] Enable CPUfreq debugging
>>>> │ │<*> CPU frequency translation statistics
>>>> │ │ [*] CPU frequency translation statistics details
>>>> │ │ Default CPUFreq governor (ondemand) --->
>>>> │ │ -*- 'performance' governor
>>>> │ │<M> 'powersave' governor
>>>> │ │<*> 'userspace' governor for userspace frequency scaling
>>>> │ │ -*- 'ondemand' cpufreq policy governor
>>>> │ │<*> 'conservative' cpufreq governor
>>>> │ │ [ ] CPU idle PM support
>>>>
>>>>
>>>> but still I could find the sys and entry in
>>>> /sys/devices/system/cpu/cpufreq/ directory. Could some one help me
>>>> to enable DVFS.
>>>>
>>> That's because tts not supported yet.
>>> You may want to look at this[1] series which is in progress
>>> to enable the support.
>>>
>>>
>>> Regards,
>>> Santosh
>>>
>>> [1] [PATCH 00/13] OMAP: Basic DVFS Framework
>>> http://www.spinics.net/lists/linux-omap/msg44393.html
>
> if you are interested,
> I rebased the last set with k.org and fixes from pm tree for
> development for smartreflex class 1.5 here:
> http://gitorious.org/linux-omap-nm-sr/linux-omap-sr/commits/dvfs
>
> git://gitorious.org/linux-omap-nm-sr/linux-omap-sr.git
> branch: dvfs
>
>
Thanks for your help Nishanth,
Surely I will pull the git and checkout..
Regards,
Thalib.
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" 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] 11+ messages in thread
* Re: How to enable dvfs in omap.
2011-02-12 11:51 ` Nishanth Menon
2011-02-12 12:21 ` Mohamed Thalib H
@ 2011-02-13 15:09 ` Kahn, Gery
2011-02-13 15:43 ` Nishanth Menon
2011-02-13 15:38 ` Koen Kooi
2 siblings, 1 reply; 11+ messages in thread
From: Kahn, Gery @ 2011-02-13 15:09 UTC (permalink / raw)
To: Nishanth Menon; +Cc: mohamed, Santosh Shilimkar, OMAP-KML
Dear Nishanth,
Thank you for the git.
The pull worked good without problem.
During compilation i found such problem:
arch/arm/plat-omap/cpu-omap.c:142: error: 'struct cpuinfo_arm' has no
member named 'loops_per_jiffy'
Is there solution for the issue?
Gery
On Sat, Feb 12, 2011 at 13:51, Nishanth Menon <nm@ti.com> wrote:
> Mohamed Thalib H wrote, on 02/12/2011 04:42 PM:
>>
>> Hi Santosh,
>>
>> Thanks for the help .
>>
>> Regareds,
>> Mohamed Thalib H.
>>
>> On Saturday 12 February 2011 04:27 PM, Santosh Shilimkar wrote:
>>>>
>>>> -----Original Message-----
>>>> From: linux-omap-owner@vger.kernel.org [mailto:linux-omap-
>>>> owner@vger.kernel.org] On Behalf Of Mohamed Thalib H
>>>> Sent: Saturday, February 12, 2011 4:20 PM
>>>> To: OMAP-KML
>>>> Subject: How to enable dvfs in omap.
>>>>
>>>> Hi all,
>>>>
>>>> I am using omap 2.6.37 running overo board. I have enabled the
>>>> following
>>>> option in the kernel menunconfig,
>>>>
>>>>
>>>> CPU Power Management --->
>>>> │ │ [*] CPU Frequency scaling
>>>> │ │ [ ] Enable CPUfreq debugging
>>>> │ │<*> CPU frequency translation statistics
>>>> │ │ [*] CPU frequency translation statistics details
>>>> │ │ Default CPUFreq governor (ondemand) --->
>>>> │ │ -*- 'performance' governor
>>>> │ │<M> 'powersave' governor
>>>> │ │<*> 'userspace' governor for userspace frequency scaling
>>>> │ │ -*- 'ondemand' cpufreq policy governor
>>>> │ │<*> 'conservative' cpufreq governor
>>>> │ │ [ ] CPU idle PM support
>>>>
>>>>
>>>> but still I could find the sys and entry in
>>>> /sys/devices/system/cpu/cpufreq/ directory. Could some one help me
>>>> to enable DVFS.
>>>>
>>> That's because tts not supported yet.
>>> You may want to look at this[1] series which is in progress
>>> to enable the support.
>>>
>>>
>>> Regards,
>>> Santosh
>>>
>>> [1] [PATCH 00/13] OMAP: Basic DVFS Framework
>>> http://www.spinics.net/lists/linux-omap/msg44393.html
>
> if you are interested,
> I rebased the last set with k.org and fixes from pm tree for development for
> smartreflex class 1.5 here:
> http://gitorious.org/linux-omap-nm-sr/linux-omap-sr/commits/dvfs
>
> git://gitorious.org/linux-omap-nm-sr/linux-omap-sr.git
> branch: dvfs
>
>
> --
> Regards,
> Nishanth Menon
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" 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] 11+ messages in thread
* Re: How to enable dvfs in omap.
2011-02-13 15:09 ` Kahn, Gery
@ 2011-02-13 15:43 ` Nishanth Menon
2011-02-14 9:06 ` Kahn, Gery
0 siblings, 1 reply; 11+ messages in thread
From: Nishanth Menon @ 2011-02-13 15:43 UTC (permalink / raw)
To: Kahn, Gery; +Cc: mohamed, Santosh Shilimkar, OMAP-KML
Kahn, Gery wrote, on 02/13/2011 08:39 PM:
> Thank you for the git.
> The pull worked good without problem.
>
> During compilation i found such problem:
>
> arch/arm/plat-omap/cpu-omap.c:142: error: 'struct
' has no
> member named 'loops_per_jiffy'
>
> Is there solution for the issue?
>
Aaah.. one possibility is that you may have disabled CONFIG_SMP in your
defconfig
well.. baselined to 2.6.38-rc4, it builds fine for me. I am using the
omap2plus_defconfig
http://pastebin.mozilla.org/1055575 (for output from savedefconfig)
Looking at the source, arch/arm/include/asm/cpu.h
loops_per_jiffy is under CONFIG_SMP and since the omap2plus_defconfig
builds for OMAP4 as well by default, I am guessing this bug was not
immediately visible.. You may want to comment on the appropriate patch
from Vishwa for this. might as well remove the loops_per_jiffy outside
the CONFIG_SMP
--
Regards,
Nishanth Menon
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: How to enable dvfs in omap.
2011-02-13 15:43 ` Nishanth Menon
@ 2011-02-14 9:06 ` Kahn, Gery
2011-02-14 9:21 ` Menon, Nishanth
0 siblings, 1 reply; 11+ messages in thread
From: Kahn, Gery @ 2011-02-14 9:06 UTC (permalink / raw)
To: Nishanth Menon; +Cc: mohamed, Santosh Shilimkar, OMAP-KML
Dear Nishanth,
On Sun, Feb 13, 2011 at 17:43, Nishanth Menon <nm@ti.com> wrote:
> Kahn, Gery wrote, on 02/13/2011 08:39 PM:
>>
>> Thank you for the git.
>> The pull worked good without problem.
>>
>> During compilation i found such problem:
>>
>> arch/arm/plat-omap/cpu-omap.c:142: error: 'struct
>
> ' has no
>>
>> member named 'loops_per_jiffy'
>>
>> Is there solution for the issue?
>>
> Aaah.. one possibility is that you may have disabled CONFIG_SMP in your
> defconfig
>
> well.. baselined to 2.6.38-rc4, it builds fine for me. I am using the
> omap2plus_defconfig
> http://pastebin.mozilla.org/1055575 (for output from savedefconfig)
>
> Looking at the source, arch/arm/include/asm/cpu.h
> loops_per_jiffy is under CONFIG_SMP and since the omap2plus_defconfig builds
> for OMAP4 as well by default, I am guessing this bug was not immediately
> visible.. You may want to comment on the appropriate patch from Vishwa for
> this. might as well remove the loops_per_jiffy outside the CONFIG_SMP
>
This is good idea. Thank you.
> --
> Regards,
> Nishanth Menon
>
Did you able to run cpu at 1.2GHz at Zoom3 ?
Gery
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: How to enable dvfs in omap.
2011-02-14 9:06 ` Kahn, Gery
@ 2011-02-14 9:21 ` Menon, Nishanth
0 siblings, 0 replies; 11+ messages in thread
From: Menon, Nishanth @ 2011-02-14 9:21 UTC (permalink / raw)
To: Kahn, Gery; +Cc: mohamed, Santosh Shilimkar, OMAP-KML
On Mon, Feb 14, 2011 at 14:36, Kahn, Gery <geryk@ti.com> wrote:
>
> Did you able to run cpu at 1.2GHz at Zoom3 ?
I know some people in TI would have done it. I personally have not
worked on 1.2GHz.
Regards,
Nishanth Menon
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: How to enable dvfs in omap.
2011-02-12 11:51 ` Nishanth Menon
2011-02-12 12:21 ` Mohamed Thalib H
2011-02-13 15:09 ` Kahn, Gery
@ 2011-02-13 15:38 ` Koen Kooi
2011-02-13 15:47 ` Nishanth Menon
2 siblings, 1 reply; 11+ messages in thread
From: Koen Kooi @ 2011-02-13 15:38 UTC (permalink / raw)
To: Nishanth Menon; +Cc: OMAP-KML
Op 12 feb 2011, om 12:51 heeft Nishanth Menon het volgende geschreven:
> Mohamed Thalib H wrote, on 02/12/2011 04:42 PM:
>> Hi Santosh,
>>
>> Thanks for the help .
>>
>> Regareds,
>> Mohamed Thalib H.
>>
>> On Saturday 12 February 2011 04:27 PM, Santosh Shilimkar wrote:
>>>> -----Original Message-----
>>>> From: linux-omap-owner@vger.kernel.org [mailto:linux-omap-
>>>> owner@vger.kernel.org] On Behalf Of Mohamed Thalib H
>>>> Sent: Saturday, February 12, 2011 4:20 PM
>>>> To: OMAP-KML
>>>> Subject: How to enable dvfs in omap.
>>>>
>>>> Hi all,
>>>>
>>>> I am using omap 2.6.37 running overo board. I have enabled the
>>>> following
>>>> option in the kernel menunconfig,
>>>>
>>>>
>>>> CPU Power Management --->
>>>> │ │ [*] CPU Frequency scaling
>>>> │ │ [ ] Enable CPUfreq debugging
>>>> │ │<*> CPU frequency translation statistics
>>>> │ │ [*] CPU frequency translation statistics details
>>>> │ │ Default CPUFreq governor (ondemand) --->
>>>> │ │ -*- 'performance' governor
>>>> │ │<M> 'powersave' governor
>>>> │ │<*> 'userspace' governor for userspace frequency scaling
>>>> │ │ -*- 'ondemand' cpufreq policy governor
>>>> │ │<*> 'conservative' cpufreq governor
>>>> │ │ [ ] CPU idle PM support
>>>>
>>>>
>>>> but still I could find the sys and entry in
>>>> /sys/devices/system/cpu/cpufreq/ directory. Could some one help me
>>>> to enable DVFS.
>>>>
>>> That's because tts not supported yet.
>>> You may want to look at this[1] series which is in progress
>>> to enable the support.
>>>
>>>
>>> Regards,
>>> Santosh
>>>
>>> [1] [PATCH 00/13] OMAP: Basic DVFS Framework
>>> http://www.spinics.net/lists/linux-omap/msg44393.html
>
> if you are interested,
> I rebased the last set with k.org and fixes from pm tree for development for smartreflex class 1.5 here:
> http://gitorious.org/linux-omap-nm-sr/linux-omap-sr/commits/dvfs
Do you also have a branch that is fully rebased with no merge commits?
regards,
Koen--
To unsubscribe from this list: send the line "unsubscribe linux-omap" 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] 11+ messages in thread
* Re: How to enable dvfs in omap.
2011-02-13 15:38 ` Koen Kooi
@ 2011-02-13 15:47 ` Nishanth Menon
0 siblings, 0 replies; 11+ messages in thread
From: Nishanth Menon @ 2011-02-13 15:47 UTC (permalink / raw)
To: Koen Kooi; +Cc: OMAP-KML
Koen Kooi wrote, on 02/13/2011 09:08 PM:
> Do you also have a branch that is fully rebased with no merge commits?
well.. the tree's pm-base is a merge from Kevin's pm branch to the
latest RC. that is the baseline for any devel for -39-rc1 (contains
cpufreq, pm-fixes for .38rcs + accepted patches for -39) - so I keep
merging in Kevin's branches once in a while.. but feel free to do the
same/cherry pick to your tree as needed. I will ofcourse replace the
dvfs branch with the latest patches from Vishwa - at least the one i
have is the one that was last publically posted, things are due to
change.. so dont expect me to maintain a tree :) just sharing what ever
I found interesting ;)
--
Regards,
Nishanth Menon
^ permalink raw reply [flat|nested] 11+ messages in thread