public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: "T Krishnamoorthy, Balaji" <balajitk@ti.com>
To: Kevin Hilman <khilman@ti.com>
Cc: linux-omap@vger.kernel.org, linux-mmc@vger.kernel.org,
	cjb@laptop.org, tony@atomide.com, madhu.cr@ti.com,
	b-cousson@ti.com, svenkatr@ti.com, "Nayak,
	Rajendra" <rnayak@ti.com>
Subject: Re: [PATCHv2 2/3] MMC: OMAP: HSMMC: add runtime pm support
Date: Wed, 29 Jun 2011 15:52:09 +0530	[thread overview]
Message-ID: <BANLkTimWocMSCAxMf2ruLBzqdTOi0d2OLg@mail.gmail.com> (raw)
In-Reply-To: <87mxh1v8f3.fsf@ti.com>

On Wed, Jun 29, 2011 at 5:02 AM, Kevin Hilman <khilman@ti.com> wrote:
> +Rajendra
>
> Balaji T K <balajitk@ti.com> writes:
>
>> add runtime pm support to HSMMC host controller
>> Use runtime pm API to enable/disable HSMMC clock
>> Use runtime autosuspend APIs to enable auto suspend delay
>>
>> Based on OMAP HSMMC runtime implementation by Kevin Hilman, Kishore Kadiyala
>>
>> Signed-off-by: Balaji T K <balajitk@ti.com>
>
> I tried to test this series along with Benoit's clkdm/modulemode/hwmod
> cleanups and something strange is happening on OMAP4.
>
> First, this series by itself is working as I would expect, but testing
> in combination with Benoit's series, it's different...
>
> First, I'm using Benoit's branch:
>
>       git://gitorious.org/omap-pm/linux.git for_3.0.1/7_hwmod_modulemode
>
> in combination with your series.
>
> I've also reverted these two commits:
>
>   OMAP4: PM: TEMP: Prevent l3init from idling/force sleep
>   OMAP3+: hwmod data: TEMP: Do not idle MMC1 & MMC2 after boot
>
> which are temporary workarounds for not having MMC runtime PM.
>
> I turned the dev_dbg calls in the runtime PM callbacks into dev_info
> callbacks to see exactly when the device is enabled/disabled via runtime
> PM.
>
> To my surprise, I didn't see the device being enabled/disabled when
> writing do the device.

I tried for_3.0.1/7_hwmod_modulemode as you mentioned above,
changing dev_dbg to dev_err and I am not observing the delayed write
during umount. Can you let me know if the files are there in MMC after
remounting ?

> Any ideas why the same isn't happening when used with Benoit's series?
>
> Kevin
>
> P.S. note that the debug messages don't quite match.  One says 'host:
> enabled' the other says 'disabled' (without the host: prefix.)  making
> the prefixes match would be more readable.

Ok, Will align dev_dbg prints.

  reply	other threads:[~2011-06-29 10:22 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-28 17:27 [PATCHv2 0/3] OMAP: HSMMC: cleanup and runtime pm Balaji T K
2011-06-28 17:27 ` [PATCHv2 1/3] MMC: OMAP: HSMMC: Remove lazy_disable Balaji T K
2011-06-28 17:27 ` [PATCHv2 2/3] MMC: OMAP: HSMMC: add runtime pm support Balaji T K
2011-06-28 23:32   ` Kevin Hilman
2011-06-29 10:22     ` T Krishnamoorthy, Balaji [this message]
2011-06-29 17:56       ` Kevin Hilman
2011-06-30  4:31         ` T Krishnamoorthy, Balaji
2011-06-30 14:13           ` T Krishnamoorthy, Balaji
2011-06-28 17:27 ` [PATCHv2 3/3] MMC: OMAP: HSMMC: Remove unused iclk Balaji T K

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=BANLkTimWocMSCAxMf2ruLBzqdTOi0d2OLg@mail.gmail.com \
    --to=balajitk@ti.com \
    --cc=b-cousson@ti.com \
    --cc=cjb@laptop.org \
    --cc=khilman@ti.com \
    --cc=linux-mmc@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=madhu.cr@ti.com \
    --cc=rnayak@ti.com \
    --cc=svenkatr@ti.com \
    --cc=tony@atomide.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