public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Kevin Hilman <khilman@deeprootsystems.com>
To: "Hunter, Jon" <jon-hunter@ti.com>
Cc: "linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>
Subject: Re: linux-omap pm branch
Date: Tue, 12 May 2009 08:53:55 -0700	[thread overview]
Message-ID: <871vque2r0.fsf@deeprootsystems.com> (raw)
In-Reply-To: <7B4574D56E4ADF438756313E9A172A873958F6A4@dlee01.ent.ti.com> (Jon Hunter's message of "Mon\, 11 May 2009 16\:15\:22 -0500")

Hi Jon,

"Hunter, Jon" <jon-hunter@ti.com> writes:

> I want to run some tests using the linux-omap pm branch on the omap3430 and had a couple questions...
>
> 1). What omap3430 board(s) are being using to validate the pm branch functionality?

I typically validate on Beagle, OMAP3EVM and RX51.  Some folks in TII
have done some validation on SDP as well.

On SDP, I have noted that CORE powerdomain does not hit retention on
current PM branch yet the same code hits full-chip retention and OFF
on the other OMAP3 boards.  I have not yet fully debugged this and I
haven't heard from other TI folks if they have the same problem.

> 2). Is there a list of pm features are currently supported/functional for omap3430? For example, cpuidle, cpufreq, retention, off-mode, smart-reflex, suspend/restore, etc. 

All of the above.

But as others have mentioned, these are validated on a minimal kernel
since there is still driver/subsystem work required to support PM,
especially the context save/restore needed for off mode.

> 3). Are there any userspace tools (such as powertop) that are
> recommended for monitoring power states?

I use powertop when testing CPUidle, but but some of the in-kernel PM
debug features are also useful.  For example, you can see some
powerdomain and clockdomain accounting by enabling CONFIG_PM_DEBUG and
CONFIG_DEBUG_FS, then mounting debugfs and doing:

# cat /debug/pm_debug/count

Also, there's a patch in the PM branch which saves the PRCM registers
just before jumping to SRAM.  This snapshot can be dumped by doing:

# cat /debug/pm_debug/registers/1

This allows you to use the registers to check if there are any clocks
enabled or any clockactivity.

Kevin

      parent reply	other threads:[~2009-05-12 15:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-11 21:15 linux-omap pm branch Hunter, Jon
2009-05-11 21:21 ` Premi, Sanjeev
2009-05-11 22:38   ` Hunter, Jon
2009-05-12  4:52     ` Nayak, Rajendra
2009-05-12 15:53 ` Kevin Hilman [this message]

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=871vque2r0.fsf@deeprootsystems.com \
    --to=khilman@deeprootsystems.com \
    --cc=jon-hunter@ti.com \
    --cc=linux-omap@vger.kernel.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