All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kevin Hilman <khilman@ti.com>
To: Rajendra Nayak <rnayak@ti.com>
Cc: Paul Walmsley <paul@pwsan.com>,
	linux-omap@vger.kernel.org, b-cousson@ti.com,
	santosh.shilimkar@ti.com, linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH] OMAP4: clockdomain: Follow recommended enable sequence
Date: Fri, 11 Mar 2011 08:47:53 -0800	[thread overview]
Message-ID: <871v2dbo3q.fsf@ti.com> (raw)
In-Reply-To: <4D7A22F6.5050806@ti.com> (Rajendra Nayak's message of "Fri, 11 Mar 2011 18:56:14 +0530")

Rajendra Nayak <rnayak@ti.com> writes:

[...]

>>
>> It's also breaking boot on OMAP35xx BeagleBoard rev C2.  The kernel
>> boot messages are below - omap2plus_defconfig + DEBUG_LL.  Reverting
>> the patch fixes it.  Could you please take a look?
>
> I got hold of a Beagle, a sticker on which says rev C1D.
> Not sure if there is a better way to identify the rev, but
> this one seems to boot fine for me even with this patch.
> I just applied this one patch on top of the the tag
> 'integration-2.6.39-20110310-008' of git://git.pwsan.com/linux-
> integration.

In the process of testing Santosh's OMAP4 PM series (which includes
$SUBJECT patch) on OMAP3, I also noticed some problems on beagle (mine
is a C3.)

Specifially, with $SUBJECT patch applied, none of the powerdomains ever
reach inactive or RET during idle (suspend seems to work fine.)

Just reverting $SUBJECT patch makes things go back to working normally.

I pushed the test branch I used which is a merge of Santosh's v3 branch
with my pm branch (branch: tmp/santosh-omap4-pm)

I tested by first doing a suspend test and confirming all the
powerdomains hit retention.  That worked fine.  Then I did an idle test:

  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 1 > /debug/pm_debug/sleep_while_idle

and waited for the UARTs to timeout.

Well after the UART timeouts expired, I do not see any powerdomains
transitioning from ON.

What's even more strange is that the same thing is working fine on all
the other OMAP3 platforms I tested: 3430/n900, 3630/zoom3 and even a
different 3530-based platform, the OMAP3EVM.

Kevin

WARNING: multiple messages have this Message-ID (diff)
From: khilman@ti.com (Kevin Hilman)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] OMAP4: clockdomain: Follow recommended enable sequence
Date: Fri, 11 Mar 2011 08:47:53 -0800	[thread overview]
Message-ID: <871v2dbo3q.fsf@ti.com> (raw)
In-Reply-To: <4D7A22F6.5050806@ti.com> (Rajendra Nayak's message of "Fri, 11 Mar 2011 18:56:14 +0530")

Rajendra Nayak <rnayak@ti.com> writes:

[...]

>>
>> It's also breaking boot on OMAP35xx BeagleBoard rev C2.  The kernel
>> boot messages are below - omap2plus_defconfig + DEBUG_LL.  Reverting
>> the patch fixes it.  Could you please take a look?
>
> I got hold of a Beagle, a sticker on which says rev C1D.
> Not sure if there is a better way to identify the rev, but
> this one seems to boot fine for me even with this patch.
> I just applied this one patch on top of the the tag
> 'integration-2.6.39-20110310-008' of git://git.pwsan.com/linux-
> integration.

In the process of testing Santosh's OMAP4 PM series (which includes
$SUBJECT patch) on OMAP3, I also noticed some problems on beagle (mine
is a C3.)

Specifially, with $SUBJECT patch applied, none of the powerdomains ever
reach inactive or RET during idle (suspend seems to work fine.)

Just reverting $SUBJECT patch makes things go back to working normally.

I pushed the test branch I used which is a merge of Santosh's v3 branch
with my pm branch (branch: tmp/santosh-omap4-pm)

I tested by first doing a suspend test and confirming all the
powerdomains hit retention.  That worked fine.  Then I did an idle test:

  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 1 > /debug/pm_debug/sleep_while_idle

and waited for the UARTs to timeout.

Well after the UART timeouts expired, I do not see any powerdomains
transitioning from ON.

What's even more strange is that the same thing is working fine on all
the other OMAP3 platforms I tested: 3430/n900, 3630/zoom3 and even a
different 3530-based platform, the OMAP3EVM.

Kevin

  reply	other threads:[~2011-03-11 16:47 UTC|newest]

Thread overview: 54+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-04 13:25 [PATCH] OMAP4: clockdomain: Follow recommended enable sequence Rajendra Nayak
2011-03-04 13:25 ` Rajendra Nayak
2011-03-09  3:50 ` Paul Walmsley
2011-03-09  3:50   ` Paul Walmsley
2011-03-09 10:19   ` Rajendra Nayak
2011-03-09 10:19     ` Rajendra Nayak
2011-03-09 16:28     ` Kevin Hilman
2011-03-09 16:28       ` Kevin Hilman
2011-03-09 21:44     ` Paul Walmsley
2011-03-09 21:44       ` Paul Walmsley
2011-03-10 12:18     ` Paul Walmsley
2011-03-10 12:18       ` Paul Walmsley
2011-03-10 12:58       ` Rajendra Nayak
2011-03-10 12:58         ` Rajendra Nayak
2011-03-10 13:16         ` Paul Walmsley
2011-03-10 13:16           ` Paul Walmsley
     [not found]         ` <4D78CAFC.4080502-l0cyMroinI0@public.gmane.org>
2011-03-10 13:17           ` Paul Walmsley
2011-03-10 13:17             ` Paul Walmsley
     [not found]             ` <alpine.DEB.2.00.1103100609080.15132-rwI8Ez+7Ko+d5PgPZx9QOdBPR1lH4CV8@public.gmane.org>
2011-03-10 13:34               ` Ben Dooks
2011-03-10 13:34                 ` Ben Dooks
     [not found]                 ` <20110310133454.GF15795-SMNkleLxa3Z6Wcw2j4pizdi2O/JbrIOy@public.gmane.org>
2011-03-10 13:36                   ` Paul Walmsley
2011-03-10 13:36                     ` Paul Walmsley
2011-03-10 14:39       ` Paul Walmsley
2011-03-10 14:39         ` Paul Walmsley
2011-03-11 13:26         ` Rajendra Nayak
2011-03-11 13:26           ` Rajendra Nayak
2011-03-11 16:47           ` Kevin Hilman [this message]
2011-03-11 16:47             ` Kevin Hilman
2011-03-12  7:53             ` Rajendra Nayak
2011-03-12  7:53               ` Rajendra Nayak
2011-03-14 10:58               ` Rajendra Nayak
2011-03-14 10:58                 ` Rajendra Nayak
2011-03-21  8:51             ` Rajendra Nayak
2011-03-21  8:51               ` Rajendra Nayak
2011-03-28 17:04               ` Paul Walmsley
2011-03-28 17:04                 ` Paul Walmsley
2011-03-29  6:55                 ` Rajendra Nayak
2011-03-29  6:55                   ` Rajendra Nayak
2011-04-01 14:51                   ` Rajendra Nayak
2011-04-01 14:51                     ` Rajendra Nayak
2011-04-01 15:40                     ` Rajendra Nayak
2011-04-01 15:40                       ` Rajendra Nayak
2011-04-04  6:47                       ` Paul Walmsley
2011-04-04  6:47                         ` Paul Walmsley
2011-04-04  6:57                         ` Santosh Shilimkar
2011-04-04  6:57                           ` Santosh Shilimkar
2011-04-05 12:47                         ` Rajendra Nayak
2011-04-05 12:47                           ` Rajendra Nayak
2011-03-23 23:29           ` Paul Walmsley
2011-03-23 23:29             ` Paul Walmsley
2011-04-20 19:42           ` Paul Walmsley
2011-04-20 19:42             ` Paul Walmsley
2011-04-21  4:47             ` Santosh Shilimkar
2011-04-21  4:47               ` Santosh Shilimkar

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=871v2dbo3q.fsf@ti.com \
    --to=khilman@ti.com \
    --cc=b-cousson@ti.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=paul@pwsan.com \
    --cc=rnayak@ti.com \
    --cc=santosh.shilimkar@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.