linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: santosh.shilimkar@ti.com (Santosh Shilimkar)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 00/19] OMAP4: PM: Suspend, CPU-hotplug and CPUilde support.
Date: Fri, 11 Mar 2011 11:22:26 +0530	[thread overview]
Message-ID: <3b3d5e28815aa8bcedf6f43688f403b5@mail.gmail.com> (raw)
In-Reply-To: <87d3lycu0h.fsf@ti.com>

> -----Original Message-----
> From: Kevin Hilman [mailto:khilman at ti.com]
> Sent: Friday, March 11, 2011 7:13 AM
> To: Santosh Shilimkar
> Cc: linux-omap at vger.kernel.org; rnayak at ti.com; linux-arm-
> kernel at lists.infradead.org
> Subject: Re: [PATCH v2 00/19] OMAP4: PM: Suspend, CPU-hotplug and
> CPUilde support.
>
> Hi Santosh,
>
> Santosh Shilimkar <santosh.shilimkar@ti.com> writes:
[....]

>
> This series doesn't boot on ES1 (boot log below.)  Do we need to
> totally prevent WFI on ES1?
>
> Also, if we want a CPUidle enabled kernel to boot on all silicon, it
> will need a omap_rev() check during init to ensure it doesn't
> override the default idle path.
>
Make sense. Will try it on ES1.0 silicon.


[....]

> > off-mode debugfs control:
> > 	enable: $echo 1 > /proc/sys/debug/pm_debug/enable_off_mode
> > 	disable: $echo 0 > /proc/sys/debug/pm_debug/enable_off_mode
>
> Without enabling off-mode, I took CPU1 offline and see that it
> immediatly goes off.  This makes sense based on the HW, but not in
> light
> of the enable_off_mode flag.  For OMAP4, maybe it makes sense to not
> have the enable_off_mode flag at all?   We'll be getting rid of it
> on OMAP3 as soon as the constraints framework is ready, so maybe it
> makes sense to just go without it for OMAP4?
>
Actually that's expected since enable_off_mode flag doesn't manage CPUX
power domain states and they are always hit OFF. CSWR isn't
supported on CPUX power domains as captured in the series. But
I agree with you that it might be confusing.

[...]
> More confusion: another test (also with CPUidle enabled), I see that
> the MPU and DSS are also hitting off-mode:
>
This behavior changed when we dropped enable_off_mode flag to updated
C-states in favor of prepare() hooks. DSS showing OFF mode is because
of debug counter issue. DSS PD doesn't support previous power state
which these counter code is trying to read. There are couple of
patches from Rajendra and Thara do address this counter issues but
they are bit of hacky. May be we can get them on the list to discuss
further.

So just to summaries, on OMAP$ 'enable_off_mode' flag is
used __only__ in Suspend. CPUx power domain always hit OFF
mode no matter what is state of this flag because CSWR isn't
supported on these PD's.

We could remove this flag as well but thought that this might be
useful especially when we add CORE RET, DEVICE OFF support.

May be we keep this till the constraint frameworks comes in and
then drop it once for all. I am ok with whatever direction you
decide here.

Regards,
Santosh

  reply	other threads:[~2011-03-11  5:52 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-10 14:07 [PATCH v2 00/19] OMAP4: PM: Suspend, CPU-hotplug and CPUilde support Santosh Shilimkar
2011-03-10 14:07 ` [PATCH v2 01/19] OMAP4: PM: Add omap WakeupGen module support Santosh Shilimkar
2011-03-10 14:07 ` [PATCH v2 02/19] OMAP4: Use WARN_ON() instead of BUG_ON() with graceful exit Santosh Shilimkar
2011-03-10 14:07 ` [PATCH v2 03/19] OMAP4: PM: Export omap4_get_base*() rather than global address pointers Santosh Shilimkar
2011-03-10 14:08 ` [PATCH v2 04/19] OMAP4: PM: Add SAR RAM support Santosh Shilimkar
2011-03-10 14:08 ` [PATCH v2 05/19] OMAP4: PM: Add CPUX OFF mode support Santosh Shilimkar
2011-03-10 14:08 ` [PATCH v2 06/19] OMAP4: PM: Initialise all the clockdomains to supported states Santosh Shilimkar
2011-03-10 14:08 ` [PATCH v2 07/19] OMAP4: PM: Program CPU1 to hit OFF when off-lined Santosh Shilimkar
2011-03-10 14:08 ` [PATCH v2 08/19] OMAP4: PM: CPU1 wakeup workaround from Low power modes Santosh Shilimkar
2011-03-10 14:08 ` [PATCH v2 09/19] OMAP4: PM: Add GIC distributor and interface enable/disable accessory API Santosh Shilimkar
2011-03-10 14:08 ` [PATCH v2 10/19] OMAP4: PM: Add GIC save/restore support Santosh Shilimkar
2011-03-10 14:08 ` [PATCH v2 11/19] OMAP4: PM: Add WakeupGen " Santosh Shilimkar
2011-03-10 14:08 ` [PATCH v2 12/19] OMAP4: PM: Add L2 cache lowpower support Santosh Shilimkar
2011-03-10 14:08 ` [PATCH v2 13/19] OMAP4: suspend: Add MPUSS RET and OFF support Santosh Shilimkar
2011-03-10 14:08 ` [PATCH v2 14/19] OMAP4: pm-debug: Add wakeup timer and debug counters Santosh Shilimkar
2011-03-10 14:08 ` [PATCH v2 15/19] OMAP4: cpuidle: Basic CPUidle support Santosh Shilimkar
2011-03-10 14:08 ` [PATCH v2 16/19] OMAP4: cpuidle: Add MPUSS RET OFF states Santosh Shilimkar
2011-03-10 14:08 ` [PATCH v2 17/19] OMAP4: cpuidle: Switch to gptimer from twd in deeper C-states Santosh Shilimkar
2011-03-10 14:08 ` [PATCH v2 18/19] OMAP4: cpuidle: Add CPU hotplug notifier and prepare() hook Santosh Shilimkar
2011-03-10 14:08 ` [PATCH v2 19/19] OMAP4: Remove un-used do_wfi() macro Santosh Shilimkar
2011-03-10 19:11 ` [PATCH v2 00/19] OMAP4: PM: Suspend, CPU-hotplug and CPUilde support Kevin Hilman
2011-03-11  1:42 ` Kevin Hilman
2011-03-11  5:52   ` Santosh Shilimkar [this message]
2011-03-11 15:52     ` Kevin Hilman
2011-03-11 17:26       ` Santosh Shilimkar
2011-03-11 17:50         ` Kevin Hilman
2011-03-11 17:58           ` Santosh Shilimkar
2011-03-11 18:03             ` Kevin Hilman
2011-03-11 18:13               ` Santosh Shilimkar
2011-03-11 19:53               ` Santosh Shilimkar
2011-03-11 12:31   ` Santosh Shilimkar
2011-03-11 15:56     ` Kevin Hilman
2011-03-11 17:06       ` Santosh Shilimkar
2011-03-24 15:09       ` Kevin Hilman
2011-03-25  7:05         ` Santosh Shilimkar
2011-03-25 15:24           ` Kevin Hilman
2011-03-25 15:30             ` Santosh Shilimkar
2011-03-28 10:47             ` Santosh Shilimkar
2011-03-28 11:02             ` Santosh Shilimkar
2011-03-28 15:56               ` Kevin Hilman
2011-03-28 16:02                 ` Santosh Shilimkar
2011-03-28 16:10                 ` Kevin Hilman

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=3b3d5e28815aa8bcedf6f43688f403b5@mail.gmail.com \
    --to=santosh.shilimkar@ti.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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;
as well as URLs for NNTP newsgroup(s).