From: Kevin Hilman <khilman@deeprootsystems.com>
To: Peter 'p2' De Schrijver <peter.de-schrijver@nokia.com>
Cc: "ext Derrick, David" <dderrick@ti.com>,
Jean Pihet <jean.pihet@newoldbits.com>,
Tony Lindgren <tony@atomide.com>, "Menon, Nishanth" <nm@ti.com>,
"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>,
"Sripathy, Vishwanath" <vishwanath.bs@ti.com>,
"Pihet-XID, Jean" <j-pihet@ti.com>
Subject: Re: [PATCH 1/2] OMAP3 PM: move omap3 sleep to ddr
Date: Mon, 22 Nov 2010 08:03:59 -0800 [thread overview]
Message-ID: <87bp5hz6og.fsf@deeprootsystems.com> (raw)
In-Reply-To: <20101122100716.GC26003@nokia.com> (Peter De Schrijver's message of "Mon, 22 Nov 2010 12:07:16 +0200")
"Peter 'p2' De Schrijver" <peter.de-schrijver@nokia.com> writes:
> On Fri, Nov 19, 2010 at 05:14:15PM +0100, ext Derrick, David wrote:
>> >-----Original Message-----
>> >From: Jean Pihet [mailto:jean.pihet@newoldbits.com]
>> >Sent: Friday, November 19, 2010 9:37 AM
>>
>> >On Thu, Nov 18, 2010 at 7:34 PM, Jean Pihet <jean.pihet@newoldbits.com> >wrote:
>> >> On Thu, Nov 18, 2010 at 7:27 PM, Tony Lindgren <tony@atomide.com> wrote:
>> >>> * Jean Pihet <jean.pihet@newoldbits.com> [101118 10:06]:
>> >>>> On Thu, Nov 18, 2010 at 6:52 PM, Tony Lindgren <tony@atomide.com> wrote:
>> >>>>
>> >>>> About the DPLL lock:
>> >>>> 1) wait_sdrc_ok is only called when back from the non-OFF modes,
>> >>>> 2) I checked that when running wait_sdrc_ok the CORE is already out of
>> >>>> idle and the DPLL is already locked. Note: l-o code has no support for
>> >>>> the voltages OFF and the external clocks OFF.
>> >>>>
>> >>>> What to conclude from 1) and 2)? In my test setup ot looks like
>> >>>> wait_sdrc_ok is of no use, but I agree this a premature conclusion.
>> >>>
>> >>> Yeah we should figure out in which cases wait_sdrc_ok is needed.
>> >>>
>> >>> BTW, are you sure you're hitting core idle in your tests?
>> >> Yes it is OK from the console messages and the counters values in
>> >> /debug/pm_debug/count.
>> >>
>> >> Let me confirm asap with the PRCM registers dump.
>>
>> >Here is what I experimented:
>> >1) added a cache flush (v7_flush_kern_cache_all) just before WFI, in all >cases,
>> >2) checked the real state entered in low power mode from the console
>> >messages, the output of /debug/pm_debug/count and PRCM registers dump
>>
>> >2) is OK, which means that the RET and OFF modes are correctly hit.
>>
>> >Can I conclude from 1) that the wake-up code is not running from the
>> >cache in RETention?
>>
>> [Derrick, David]
>>
>> To add some context to the wait_sdrc_ok function and why it was added:
>>
>> wait_sdrc_ok was added because the DLL takes 500 L3 clock cycles
>> to lock. So you do not want to go back to DDR before DLL is locked. Also, we
>> found some times DLL never locked so we introduced the DLL kick procedure to
>> force it to lock.
>>
>
> The root cause for the DLL not locking has been found though and a
> workaround implemented. So it should work now :)
Is the workaround for this reflected in Nishanth's series?
Kevin
> That still leaves the
> 500 L3 cycle delay though.
>
> Cheers,
>
> Peter.
next prev parent reply other threads:[~2010-11-22 16:04 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-18 14:51 OMAP3 sleep code clean-up Jean Pihet
2010-11-18 14:51 ` [PATCH 1/2] OMAP3 PM: move omap3 sleep to ddr Jean Pihet
2010-11-18 14:57 ` Nishanth Menon
2010-11-18 15:08 ` Sripathy, Vishwanath
2010-11-18 15:11 ` Nishanth Menon
2010-11-18 15:15 ` Jean Pihet
2010-11-18 15:33 ` Nishanth Menon
2010-11-18 15:52 ` Kevin Hilman
2010-11-18 16:55 ` Nishanth Menon
2010-11-18 17:52 ` Tony Lindgren
2010-11-18 18:13 ` Tony Lindgren
2010-11-18 18:15 ` Jean Pihet
2010-11-18 18:27 ` Tony Lindgren
2010-11-18 18:34 ` Jean Pihet
2010-11-19 15:37 ` Jean Pihet
2010-11-19 16:09 ` Tony Lindgren
2010-11-19 16:14 ` Derrick, David
2010-11-19 16:26 ` Jean Pihet
2010-11-22 10:07 ` Peter 'p2' De Schrijver
2010-11-22 16:03 ` Kevin Hilman [this message]
2010-11-22 16:08 ` Jean Pihet
2010-11-22 16:22 ` Peter 'p2' De Schrijver
2010-11-22 16:25 ` Nishanth Menon
2010-11-22 18:23 ` Kevin Hilman
2010-11-22 18:31 ` Nishanth Menon
2010-11-18 14:51 ` [PATCH 2/2] OMAP3: clean up ASM idle code Jean Pihet
2010-11-18 17:41 ` Tony Lindgren
2010-11-18 18:19 ` Jean Pihet
-- strict thread matches above, loose matches on Subject: below --
2010-09-24 10:56 [PATCH 0/2] OMAP3 PM: sleep code clean up Vishwanath BS
2010-09-24 10:56 ` [PATCH 1/2] OMAP3 PM: move omap3 sleep to ddr Vishwanath BS
2010-09-24 19:01 ` Tony Lindgren
2010-09-24 19:09 ` Tony Lindgren
[not found] ` <20100924190930.GH4211-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
2010-09-25 5:52 ` Shilimkar, Santosh
2010-09-24 19:57 ` Kevin Hilman
2010-10-04 7:26 ` Sripathy, Vishwanath
2010-09-24 10:47 [PATCH 0/2] OMAP3 PM: sleep code clean up Vishwanath BS
2010-09-24 10:47 ` [PATCH 1/2] OMAP3 PM: move omap3 sleep to ddr Vishwanath BS
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=87bp5hz6og.fsf@deeprootsystems.com \
--to=khilman@deeprootsystems.com \
--cc=dderrick@ti.com \
--cc=j-pihet@ti.com \
--cc=jean.pihet@newoldbits.com \
--cc=linux-omap@vger.kernel.org \
--cc=nm@ti.com \
--cc=peter.de-schrijver@nokia.com \
--cc=tony@atomide.com \
--cc=vishwanath.bs@ti.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.