All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Ball <cjb@laptop.org>
To: Adrian Hunter <adrian.hunter@intel.com>
Cc: linux-mmc <linux-mmc@vger.kernel.org>
Subject: Re: [PATCH 2/2] mmc: sdhci-pci: add runtime pm support
Date: Sat, 15 Oct 2011 21:06:09 -0400	[thread overview]
Message-ID: <m2aa91eoe6.fsf@bob.laptop.org> (raw)
In-Reply-To: <1317645214-12316-3-git-send-email-adrian.hunter@intel.com> (Adrian Hunter's message of "Mon, 3 Oct 2011 15:33:34 +0300")

Hi Adrian,

On Mon, Oct 03 2011, Adrian Hunter wrote:
> Ths patch allows runtime PM for sdhci-pci, runtime suspending
> after inactivity of 50ms and ensuring runtime resume before
> SDHC registers are accessed.  During runtime suspend, interrupts
> are masked.  The host controller state is restored at runtime
> resume.
>
> For Medfield, the host controller's card detect mechanism
> is supplanted by an always-on GPIO which provides for card
> detect wake-up.
>
> Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>

Running linux-next on an x86 ThinkPad W510 with Ricoh 1180:e832 reader,
I get a long string of these messages at boot with no card inserted:

[    7.361614] mmc0: got irq while runtime suspended
[    7.381593] mmc0: got irq while runtime suspended
[    7.401602] mmc0: got irq while runtime suspended
[    7.401617] mmc0: got irq while runtime suspended
[    7.421510] mmc0: got irq while runtime suspended
[    7.421525] mmc0: got irq while runtime suspended

Card insertion detection after boot no longer works (nothing new appears
in dmesg), so I'm unable to use the reader.  Are you able to try to
figure this out?  I'm happy to try any patches you suggest.

The full dmesg, with CONFIG_MMC_DEBUG=y, is available at:
   http://chris.printf.net/sdhci-runtime-pm-dmesg

Thanks,

- Chris.
-- 
Chris Ball   <cjb@laptop.org>   <http://printf.net/>
One Laptop Per Child

  parent reply	other threads:[~2011-10-16  1:06 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-03 12:33 [PATCH 0/2] mmc: sdhci-pci: add runtime pm support Adrian Hunter
2011-10-03 12:33 ` [PATCH 1/2] mmc: core: move ->request() call from atomic context Adrian Hunter
2011-10-05 13:56   ` Ulf Hansson
2011-10-10 22:05     ` Chris Ball
2011-10-03 12:33 ` [PATCH 2/2] mmc: sdhci-pci: add runtime pm support Adrian Hunter
2011-10-04  4:44   ` Jaehoon Chung
2011-10-04  6:22     ` Adrian Hunter
2011-10-05 14:59   ` Ulf Hansson
2011-10-06  7:47     ` Adrian Hunter
2011-10-06 14:39       ` Ulf Hansson
2011-10-10 22:07   ` Chris Ball
2011-10-16  1:06   ` Chris Ball [this message]
2011-10-16  2:26     ` Chris Ball
2011-10-17  8:19       ` Adrian Hunter

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=m2aa91eoe6.fsf@bob.laptop.org \
    --to=cjb@laptop.org \
    --cc=adrian.hunter@intel.com \
    --cc=linux-mmc@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.