From: Kevin Hilman <khilman@deeprootsystems.com>
To: Sriram V <vshrirama@gmail.com>
Cc: "Högander Jouni" <jouni.hogander@nokia.com>,
"Premi, Sanjeev" <premi@ti.com>,
"Peter Reid" <ppeter.reid@gmail.com>,
"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>
Subject: Re: [ANNOUNCE] new PM branch: pm-20081119
Date: Mon, 01 Dec 2008 21:17:51 -0800 [thread overview]
Message-ID: <4934C4FF.1070603@deeprootsystems.com> (raw)
In-Reply-To: <8bf247760812010822t26f1af27l689bc64175703589@mail.gmail.com>
Sriram V wrote:
> Hi,
> On OMAP3EVM, with a minimum config. All domains are hitting RET.
> Only SGX domain hits OFF. No other domain hits OFF.
Yes, the default boot behavior is to default to RET, but SGX does not
support RET, only ON or OFF, so it goes to OFF.
> I tried doing a echo 1 > /sys/power/enable_off_mode.
After doing this, and then 'echo mem > /sys/power/state' do you see
any other states that have hit OFF in /debug/pm_debug/count?
> Powertop shows Sleep States upto C4. Has anyone seen Sleep States
> upto C6 with this kernel?
Yes, I've seen states up to C6. The only thing preventing deeper states
is application or timer activity not being long enough. What does
powertop list as the primary interrupt or timer sources waking out of idle?
> dont know why MPU/CORE not hitting OFF even though the clocks are off.
It looks like you're primarily testing dynamic idle. Can you check via
/debug/pm_debug/count whether you're hitting OFF in any powerdomains
when going into suspend?
Kevin
> With the most of the PM support (Suspend/Resume, Power Domains, CPU
> Idle) up with minimum config.
>
> What else remains to be supported?
>
> CPU freq, constraint frame work and individual drivers support to
> enable power domain transition to OFF/RET?
> Is this all? do these cover all the pm features of omap3?
>
> Is the constraints framework embedded within the TI SRF or is it
> independently usable?
>
> I havent seen too many drivers which specify constraints in the TI
> sources though.
>
>
> Regards,
> sriram
>
> On Mon, Nov 24, 2008 at 1:02 PM, Högander Jouni
> <jouni.hogander@nokia.com> wrote:
>> "ext Sriram V" <vshrirama@gmail.com> writes:
>>
>>> Kevin,
>>>
>>> On Fri, Nov 21, 2008 at 9:35 PM, Kevin Hilman
>>> <khilman@deeprootsystems.com> wrote:
>>>> "Premi, Sanjeev" <premi@ti.com> writes:
>>>>
>>>>>> -----Original Message-----
>>>>>> From: Kevin Hilman [mailto:khilman@deeprootsystems.com]
>>>>>> Sent: Thursday, November 20, 2008 11:10 PM
>>>>>> To: Premi, Sanjeev
>>>>>> Cc: Peter Reid; linux-omap@vger.kernel.org
>>>>>> Subject: Re: [ANNOUNCE] new PM branch: pm-20081119
>>>>>>
>>>>>> "Premi, Sanjeev" <premi@ti.com> writes:
>>>>>>
>>>>>>> These are my observations on OMAP3EVM:
>>>>>>>
>>>>>>> 1) Very frequently I see these messages:
>>>>>>>
>>>>>>> <4>__ratelimit: 6736 callbacks suppressed
>>>>>>> __ratelimit: 6736 callbacks suppressed <3>omapfb omapfb: irq error
>>>>>>> status 00c2 omapfb omapfb: irq error status 00c2 <3>omapfb
>>>>>> omapfb: irq
>>>>>>> error status 0060 omapfb omapfb: irq error status 0060 <3>omapfb
>>>>>>> omapfb: irq error status 00c2 omapfb omapfb: irq error status 00c2
>>>>>>> <3>omapfb omapfb: irq error status 0060 omapfb omapfb: irq error
>>>>>>> status 0060 <3>omapfb omapfb: irq error status 00e2 omapfb
>>>>>> omapfb: irq
>>>>>>> error status 00e2 <3>omapfb omapfb: irq error status 00c2 omapfb
>>>>>>> omapfb: irq error status 00c2 <3>omapfb omapfb: irq error
>>>>>> status 0060
>>>>>>> omapfb omapfb: irq error status 0060 <3>omapfb omapfb: irq error
>>>>>>> status 00e2 omapfb omapfb: irq error status 00e2 <3>omapfb
>>>>>> omapfb: irq
>>>>>>> error status 00c2 omapfb omapfb: irq error status 00c2 <3>omapfb
>>>>>>> omapfb: irq error status 0060 omapfb omapfb: irq error status 0060
>>>>>> Sanjeev,
>>>>>>
>>>>>> For starters can you try with a minimal kernel (no drivers,
>>>>>> no framebuffer, etc.)
>>>>>>
>>>>>> The first goal is to hit retention and off with no drivers
>>>>>> than start moving out to address driver issues from there.
>>>>>>
>>>>>> Kevin
>>>>>>
>>>>> Here is what I was able to see with the minimal config (attached).
>>>>>
>>>>> [root@OMAP3EVM /]# echo mem > /sys/power/state
>>>>> <6>PM: Syncing filesystems ... PM: Syncing filesystems ... done.
>>>>> done.
>>>>> Freezing user space processes ... Freezing user space processes ... (elapsed 0.00 seconds) (elapsed 0.00 seconds) done.
>>>>> done.
>>>>> Freezing remaining freezable tasks ... Freezing remaining freezable tasks ... (elapsed 0.01 seconds) (elapsed 0.01 seconds) done.done.
>>>>>
>>>>> Suspending console(s) (use no_console_suspend to debug)
>>>>> Suspending console(s) (use no_console_suspend to debug)
>>>>>
>>>>> <snip>un-printable characters<snip>
>>>>>
>>>>> Powerdomain (per_pwrdm) didn't enter target state 1
>>>>> Could not enter target state in pm_suspend
>>>>> Restarting tasks ... Restarting tasks ... done.
>>>>> done.
>>>> This is what I see on Beagle as well (PER is not entering retention.)
>>>>
>>>> At this point, the current PM debug code doesn't help further in
>>>> determining exactly why a powerdomain did not hit its target state.
>>>> Some device in the domain may still have its clocks enabled, or its
>>>> idle state not set correctly. Or, a given module may have been
>>>> initialized by the bootloader in a way which prevents it from going
>>>> idle.
>>>>
>>> True. I have observed on omap3evm with minimum configuration, and
>>> booting out of ramdisk:
>>> with nand booting: only per powerdomain does not enter retention
>>> with mmc boot: core and per dont enter retention
>>>
>>> it could do with clocks set the bootloaders that is preventing it from
>>> entering ret/off.
>> To tackle this you should have CONFIG_OMAP_RESET_CLOCKS enabled in
>> config.
>>
>>> what do you mean by idle state not set correctly? are you referring
>>> to auto-idle bit?
>> Not sure what Kevin meant there, but if the problem was in the
>> autoidle bit in *_SYSCONFIG, I would expect also CORE pwrdm to
>> fail. Anyway it's also worth of checking the statuses of PER modules
>> *_SYSCONFIG registers.
>>
>>>
>>>> We need some improved PM debug capabilities in the kernel to pinpoint
>>>> exactly the module that is causing the problem.
>>>>
>>> Apart from PM debug, are you using any other module/methods to
>>> debug?
>> State of PRCM registers can be quickly checked from
>> /sys/kernel/debug/pm_debug/registers/current (assuming you have mount
>> debugfs in /sys/kernel/debug and PM_DEBUG is enabled in config).
>>
>> --
>> Jouni Högander
>>
>>
--
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
next prev parent reply other threads:[~2008-12-02 5:17 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-20 0:53 [ANNOUNCE] new PM branch: pm-20081119 Kevin Hilman
2008-11-20 8:45 ` Peter Reid
2008-11-20 14:13 ` Premi, Sanjeev
2008-11-20 14:48 ` Koen Kooi
2008-11-20 15:25 ` Premi, Sanjeev
2008-11-21 7:29 ` Kalle Jokiniemi
2008-11-20 16:00 ` Premi, Sanjeev
2008-11-20 17:40 ` Kevin Hilman
2008-11-21 15:46 ` Premi, Sanjeev
2008-11-21 16:05 ` Kevin Hilman
2008-11-23 7:57 ` Sriram V
2008-11-24 7:32 ` Högander Jouni
2008-12-01 16:22 ` Sriram V
2008-12-02 5:17 ` Kevin Hilman [this message]
2008-12-03 14:23 ` Sriram V
2008-11-21 7:20 ` Kalle Jokiniemi
2008-11-20 17:38 ` Kevin Hilman
2008-11-20 17:44 ` Kevin Hilman
2008-11-20 17:53 ` Koen Kooi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4934C4FF.1070603@deeprootsystems.com \
--to=khilman@deeprootsystems.com \
--cc=jouni.hogander@nokia.com \
--cc=linux-omap@vger.kernel.org \
--cc=ppeter.reid@gmail.com \
--cc=premi@ti.com \
--cc=vshrirama@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox