From: Santosh Shilimkar <santosh.shilimkar@ti.com>
To: Tero.Kristo@nokia.com, Vishwanath Sripathy <vishwanath.bs@ti.com>,
linux-omap@vger.kernel.org
Cc: paul@pwsan.com, khilman@deeprootsystems.com
Subject: RE: [PATCH] OMAP3: CPUIdle: prevent CORE from going off if doing so would reset an active clockdomain
Date: Wed, 19 Jan 2011 14:03:17 +0530 [thread overview]
Message-ID: <ee1da1d18ec015522469772b211af181@mail.gmail.com> (raw)
In-Reply-To: <854C6400F5AA6644BA6FE7953F3E769B03676325@008-AM1MPN1-012.mgdnok.nokia.com>
> -----Original Message-----
> From: linux-omap-owner@vger.kernel.org [mailto:linux-omap-
> owner@vger.kernel.org] On Behalf Of Tero.Kristo@nokia.com
> Sent: Wednesday, January 19, 2011 1:52 PM
> To: vishwanath.bs@ti.com; linux-omap@vger.kernel.org
> Cc: paul@pwsan.com; khilman@deeprootsystems.com
> Subject: RE: [PATCH] OMAP3: CPUIdle: prevent CORE from going off if
> doing so would reset an active clockdomain
>
>
>
> >-----Original Message-----
> >From: linux-omap-owner@vger.kernel.org [mailto:linux-omap-
> >owner@vger.kernel.org] On Behalf Of ext Vishwanath Sripathy
> >Sent: 19 January, 2011 06:39
> >To: Kristo Tero (Nokia-MS/Tampere); linux-omap@vger.kernel.org
> >Cc: Paul Walmsley; Kevin Hilman
> >Subject: RE: [PATCH] OMAP3: CPUIdle: prevent CORE from going off if
> >doing so would reset an active clockdomain
> >
> >Tero,
> >
> >> -----Original Message-----
> >> From: linux-omap-owner@vger.kernel.org [mailto:linux-omap-
> >> owner@vger.kernel.org] On Behalf Of Tero Kristo
> >> Sent: Tuesday, January 18, 2011 3:18 PM
> >> To: linux-omap@vger.kernel.org
> >> Cc: Paul Walmsley; Kevin Hilman
> >> Subject: [PATCH] OMAP3: CPUIdle: prevent CORE from going off if
> doing
> >> so would reset an active clockdomain
> >>
> >> On OMAP3 SoCs, if the CORE powerdomain enters off-mode, many
> other
> >> parts of the chip will be reset. If those parts of the chip are
> busy,
> >> the reset will disrupt them, causing unpredictable and generally
> >> undesirable results.
> >If some parts of the chip are busy, then how can Core domain enter
> off
> >state? The necessary condition for Core to enter low power state is
> that
> >all the clock domains (including DSS, CAM, IVA, USB, PER etc)
> should
> >have
> >idled. Doesn't it mean that all the modules have idled and asserted
> >idleack when Core is entering off state?
>
> This can happen e.g. when some powerdomain has entered RET state. We
> have faced this issue at least with IVA2 because it has its own
> power management.
>
IVA2 PD managed directly instead of linux side PM frameworks is one
problem. If the IVA2 hits retention, and if there is no dependency
on core PD, it should be still fine for core to enter OFF. I hope
it's not the case where some modules from CORE PD are used by IVA
side software ( may be SDMA, GPIO etc) and as part of CORE OFF
you loose context of these which leads to the issue.
Regards,
Santosh
next prev parent reply other threads:[~2011-01-19 8:33 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-18 9:48 [PATCH] OMAP3: CPUIdle: prevent CORE from going off if doing so would reset an active clockdomain Tero Kristo
2011-01-18 21:52 ` Paul Walmsley
2011-01-19 4:39 ` Vishwanath Sripathy
2011-01-19 6:05 ` Vishwanath Sripathy
2011-01-19 8:38 ` Tero.Kristo
2011-01-19 9:03 ` Santosh Shilimkar
2011-01-19 20:25 ` Cousson, Benoit
2011-01-21 9:22 ` Tero.Kristo
2011-01-19 8:22 ` Tero.Kristo
2011-01-19 8:33 ` Santosh Shilimkar [this message]
2011-01-19 10:07 ` Paul Walmsley
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=ee1da1d18ec015522469772b211af181@mail.gmail.com \
--to=santosh.shilimkar@ti.com \
--cc=Tero.Kristo@nokia.com \
--cc=khilman@deeprootsystems.com \
--cc=linux-omap@vger.kernel.org \
--cc=paul@pwsan.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox