All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jarkko Nikula <jarkko.nikula@bitmer.com>
To: Kevin Hilman <khilman@ti.com>
Cc: javier Martin <javier.martin@vista-silicon.com>,
	linux-omap@vger.kernel.org, Koen Kooi <koen@beagleboard.org>
Subject: Re: cpuidle status in mainline for Beagleboard xM
Date: Fri, 02 Sep 2011 09:05:53 +0300	[thread overview]
Message-ID: <4E607241.8000704@bitmer.com> (raw)
In-Reply-To: <87ei00f94i.fsf@ti.com>

On 09/01/2011 08:46 PM, Kevin Hilman wrote:
> javier Martin<javier.martin@vista-silicon.com>  writes:
>
>> Hi Kevin,
>> thanks for your help.
>>
>>> CPU is staying in C0 probably because UARTs are not being idled, so SoC
>>> cannot hit deeper idle states.  Try the following at the command line to
>>> to enable UART idle timeouts, so the SoC can attempt idle after the
>>> timeout period
>>>
>>> # UART timeouts: omap-serial (4th UART only on OMAP36xx and OMAP4)
>>> echo 5>  /sys/devices/platform/omap/omap_uart.0/sleep_timeout
>>> echo 5>  /sys/devices/platform/omap/omap_uart.1/sleep_timeout
>>> echo 5>  /sys/devices/platform/omap/omap_uart.2/sleep_timeout
>>> echo 5>  /sys/devices/platform/omap/omap_uart.3/sleep_timeout
>>>
>>> After 5 seconds of inactivity on the UARTs, you should see the SoC
>>> hitting deeper C-states.
>> I've tried that but it still doesn't hit any C-state deeper than 0.
>> I'll try the same test using your pm branch you pointed me out and
>> post the results.
>>
> The CPUidle stuff works in mainline (after allowing UARTs to idle).
Other usual things to check that display is off (echo 1 > 
/sys/class/graphics/fb0/blank) and no cable to musb/otg port.

Haven't tried myself with recent kernel but does EHCI and hub on XM let 
to idle cpu at all? At least on one board having on-board hub I had to 
disable or unload ehci module in order to hit the retention.

-- 
Jarkko

  reply	other threads:[~2011-09-02  6:06 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-01 14:14 cpuidle status in mainline for Beagleboard xM javier Martin
2011-09-01 15:10 ` Kevin Hilman
2011-09-01 15:33   ` javier Martin
2011-09-01 17:46     ` Kevin Hilman
2011-09-02  6:05       ` Jarkko Nikula [this message]
2011-09-02  7:23         ` javier Martin
2011-09-02 17:14           ` Kevin Hilman
2011-09-05  8:04             ` javier Martin
2011-09-06 21:04               ` 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=4E607241.8000704@bitmer.com \
    --to=jarkko.nikula@bitmer.com \
    --cc=javier.martin@vista-silicon.com \
    --cc=khilman@ti.com \
    --cc=koen@beagleboard.org \
    --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 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.