From: Ameya Palande <ameya.palande@nokia.com>
To: "ext Guzman Lugo, Fernando" <x0095840@ti.com>
Cc: "linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>,
"Ramirez Luna, Omar" <omar.ramirez@ti.com>,
"Menon, Nishanth" <nm@ti.com>,
"Doyu Hiroshi (Nokia-D/Helsinki)" <hiroshi.doyu@nokia.com>
Subject: Re: [PATCH 12/13] DSPBRIDGE: fix resuming problem with dsp hibernation
Date: Thu, 16 Jul 2009 10:12:03 +0300 [thread overview]
Message-ID: <4A5ED2C3.8070105@nokia.com> (raw)
In-Reply-To: <496565EC904933469F292DDA3F1663E602A32025E9@dlee06.ent.ti.com>
Hi Fernando,
ext Guzman Lugo, Fernando wrote:
>
> Hi,
>
>> -----Original Message-----
>> From: Ameya Palande [mailto:ameya.palande@nokia.com]
>> Sent: Wednesday, July 15, 2009 9:57 AM
>> To: linux-omap@vger.kernel.org
>> Cc: Ramirez Luna, Omar; Guzman Lugo, Fernando; Menon, Nishanth;
>> hiroshi.doyu@nokia.com
>> Subject: [PATCH 12/13] DSPBRIDGE: fix resuming problem with dsp
>> hibernation
>>
>> From: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
>>
>> The constraints(opp >= 2) should be set whenever returning from DSP
>> hibernation.
>>
>> This fixes the problem at the following steps:
>> 1) wait DSP hibernate
>> 2) echo mem > /sys/power/state
>> 3) type key to wakeup
>>
>
> The patch looks good, you are removing the check for OPP1 because it is suppose
> that if the DSP is in Hibernation we have a DSP constrain in OPP1,
> so I think the "if" is always true. However I don't see the issue the mention
> could you please tell me what was the problem you were seeing?
While waking up DSP if VDD1 OPP is greater that 1 then without this patch,
constraint won't be set. This results in a case where PM layer later decides to
switch to OPP1 while DSP is active, which results in a crash. To avoid this we
are setting VDD1 to OPP2 unconditionally while waking up from hibernation :)
Cheers,
Ameya.
next prev parent reply other threads:[~2009-07-16 7:12 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-15 14:56 [PATCH 00/13] DSPBRIDGE: Patchset with various fixes Ameya Palande
2009-07-15 14:56 ` [PATCH 01/13] DSPBRIDGE: Heuristic fixes of strlen/malloc out by one Ameya Palande
2009-07-15 14:56 ` [PATCH 02/13] DSPBRIDGE: PROCWRAP_Load function cleanup in a complete mess Ameya Palande
2009-07-15 14:56 ` [PATCH 03/13] DSPBRIDGE: Remove unnecessary conditions from some for loops Ameya Palande
2009-07-15 14:56 ` [PATCH 04/13] DSPBRIDGE: fix macros that break when inside an if/else Ameya Palande
2009-07-15 14:56 ` [PATCH 05/13] DSPBRIDGE: enable smart/autoidle for mailbox sysconfig Ameya Palande
2009-07-15 14:56 ` [PATCH 06/13] DSPBRIDGE: avoid to dump unnecessary registers without debug Ameya Palande
2009-07-15 14:56 ` [PATCH 07/13] DSPBRIDGE: flush_all() bumps VDD1_OPP to 2 if it is at 1 Ameya Palande
2009-07-15 14:56 ` [PATCH 08/13] DSPBRIDGE: Prevent memory access during hibernation Ameya Palande
2009-07-15 14:56 ` [PATCH 09/13] DSPBRIDGE: fix incorrect mask of DPLL in CHNLSM_InterruptDSP2() Ameya Palande
2009-07-15 14:56 ` [PATCH 10/13] DSPBRIDGE: HACK: insert delay for DPLL stabilization Ameya Palande
2009-07-15 14:56 ` [PATCH 11/13] DSPBRIDGE: Set VDD1 OPP1 unconditionally while moving to off mode Ameya Palande
2009-07-15 14:56 ` [PATCH 12/13] DSPBRIDGE: fix resuming problem with dsp hibernation Ameya Palande
2009-07-15 23:10 ` Guzman Lugo, Fernando
2009-07-16 7:12 ` Ameya Palande [this message]
2009-07-16 7:16 ` Hiroshi DOYU
2009-07-15 22:53 ` [PATCH 11/13] DSPBRIDGE: Set VDD1 OPP1 unconditionally while moving to off mode Guzman Lugo, Fernando
2009-07-15 23:10 ` Hiroshi DOYU
2009-07-15 23:17 ` Guzman Lugo, Fernando
2009-07-16 8:53 ` [PATCH 10/13] DSPBRIDGE: HACK: insert delay for DPLL stabilization Hiroshi DOYU
2009-07-20 3:52 ` [PATCH 09/13] DSPBRIDGE: fix incorrect mask of DPLL in CHNLSM_InterruptDSP2() Ramirez Luna, Omar
2009-07-20 3:52 ` [PATCH 08/13] DSPBRIDGE: Prevent memory access during hibernation Ramirez Luna, Omar
2009-07-19 21:54 ` [PATCH 06/13] DSPBRIDGE: avoid to dump unnecessary registers without debug Ramirez Luna, Omar
2009-07-15 21:59 ` [PATCH 05/13] DSPBRIDGE: enable smart/autoidle for mailbox sysconfig Guzman Lugo, Fernando
2009-07-15 22:01 ` Nishanth Menon
2009-07-15 22:37 ` Hiroshi DOYU
2009-07-15 22:32 ` Hiroshi DOYU
2009-07-15 21:51 ` [PATCH 04/13] DSPBRIDGE: fix macros that break when inside an if/else Guzman Lugo, Fernando
2009-07-19 21:54 ` Ramirez Luna, Omar
2009-07-19 21:53 ` [PATCH 03/13] DSPBRIDGE: Remove unnecessary conditions from some for loops Ramirez Luna, Omar
2009-07-19 21:52 ` [PATCH 02/13] DSPBRIDGE: PROCWRAP_Load function cleanup in a complete mess Ramirez Luna, Omar
2009-07-19 21:52 ` [PATCH 01/13] DSPBRIDGE: Heuristic fixes of strlen/malloc out by one Ramirez Luna, Omar
2009-07-15 19:19 ` [PATCH 00/13] DSPBRIDGE: Patchset with various fixes Nishanth Menon
2009-07-16 6:53 ` Ameya Palande
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=4A5ED2C3.8070105@nokia.com \
--to=ameya.palande@nokia.com \
--cc=hiroshi.doyu@nokia.com \
--cc=linux-omap@vger.kernel.org \
--cc=nm@ti.com \
--cc=omar.ramirez@ti.com \
--cc=x0095840@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.