From: Tony Lindgren <tony@atomide.com>
To: Madhusudhan Chikkature <madhu.cr@ti.com>
Cc: "Woodruff, Richard" <r-woodruff2@ti.com>,
Jarkko Lavinen <jarkko.lavinen@nokia.com>,
linux-omap@vger.kernel.org
Subject: Re: HSMMC pending fixes
Date: Fri, 12 Sep 2008 10:58:47 -0700 [thread overview]
Message-ID: <20080912175846.GD10675@atomide.com> (raw)
In-Reply-To: <012101c913c4$bd28b850$LocalHost@wipultra1303>
* Madhusudhan Chikkature <madhu.cr@ti.com> [080910 21:13]:
>
> ----- Original Message -----
> From: "Tony Lindgren" <tony@atomide.com>
> To: "Woodruff, Richard" <r-woodruff2@ti.com>
> Cc: "Jarkko Lavinen" <jarkko.lavinen@nokia.com>; <linux-omap@vger.kernel.org>
> Sent: Thursday, September 11, 2008 5:35 AM
> Subject: Re: HSMMC pending fixes
>
>
> >* Woodruff, Richard <r-woodruff2@ti.com> [080818 14:09]:
> >> Hi,
> >>
> >> > owner@vger.kernel.org] On Behalf Of Jarkko Lavinen
> >>
> >>
> >> > 2: Disable smartidle mode while suspending (workaround)
> >>
> >> This was the work around we had in internal trees for a long time.
> >>
> >> However Madhu C. recently updated this based on an internal investigation. It is required to reset the command pin to clear the system for sleep. This allows retention to work.
> >>
> >> The non-idle work around when profiled showed it was taking a huge amount of time for the clock re-enable to work. This actually would noticeably reduce MMC throughput when doing aggressive clock cutting in the driver and increase power usage.
> >>
> >> + } else {
> >> + OMAP_HSMMC_WRITE(host->base, SYSCTL,
> >> + OMAP_HSMMC_READ(host->base, SYSCTL) | SRD);
> >> + while (OMAP_HSMMC_READ(host->base, SYSCTL) & SRD) ;
> >>
> >> If you use a really long time out then perhaps it doesn't matter. But if you try and be aggressive it will hurt you.
> >
> > Pushing all except the workaround. Madhu, can you please send a patch
> > for what Richard is describing?
> Tony, I have already posted the above fix to L-o. I see that it is merged as well. With this fix, I guess there is no need to disable smart idle mode while suspending. Am I missing any other thing here?
Hmm OK. I guess the test then is to see if suspend works now properly.
Tony
prev parent reply other threads:[~2008-09-12 17:58 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-18 15:13 HSMMC pending fixes Jarkko Lavinen
2008-08-18 15:13 ` [PATCH] OMAP: HSMMC: Check wether board specific suspend / resume exists Jarkko Lavinen
2008-08-18 15:13 ` [PATCH] MMC: OMAP: Disable smartidle mode while suspending (workaround) Jarkko Lavinen
2008-08-18 15:13 ` [PATCH] MMC: OMAP: Readable output for IRQ status register Jarkko Lavinen
2008-08-18 15:13 ` [PATCH] MMC: OMAP: Re-organizing some goto at hsmmc probe Jarkko Lavinen
2008-08-18 15:13 ` [PATCH] MMC: OMAP: Add slot_name entry to sysfs Jarkko Lavinen
2008-08-18 15:13 ` [PATCH] MMC: Add sysfs file cover_switch Jarkko Lavinen
2008-08-21 13:23 ` [PATCH] MMC: OMAP: Re-organizing some goto at hsmmc probe Madhusudhan Chikkature
2008-08-18 21:07 ` HSMMC pending fixes Woodruff, Richard
2008-09-11 0:05 ` Tony Lindgren
2008-09-11 4:13 ` Madhusudhan Chikkature
2008-09-12 17:58 ` Tony Lindgren [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=20080912175846.GD10675@atomide.com \
--to=tony@atomide.com \
--cc=jarkko.lavinen@nokia.com \
--cc=linux-omap@vger.kernel.org \
--cc=madhu.cr@ti.com \
--cc=r-woodruff2@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.