All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ulf Hansson <ulf.hansson@linaro.org>
To: Alan Stern <stern@rowland.harvard.edu>
Cc: Ludovic Desroches <ludovic.desroches@atmel.com>,
	Nicolas Ferre <nicolas.ferre@atmel.com>,
	Adrian Hunter <adrian.hunter@intel.com>,
	"linux-pm@vger.kernel.org" <linux-pm@vger.kernel.org>,
	linux-mmc <linux-mmc@vger.kernel.org>
Subject: Re: [PATCH] sdhci: wakeup from runtime PM
Date: Fri, 8 Apr 2016 22:51:51 +0200	[thread overview]
Message-ID: <CAPDyKFqMOmNhXfJGVyvBvc5dD=wTR3Wvz64CuL8iq4dQJSHk3g@mail.gmail.com> (raw)
In-Reply-To: <Pine.LNX.4.44L0.1604081114480.2069-100000@iolanthe.rowland.org>

On 8 April 2016 at 17:19, Alan Stern <stern@rowland.harvard.edu> wrote:
> On Fri, 8 Apr 2016, Ulf Hansson wrote:
>
>> From power consumption point if view we already discussed this
>> particular case in an earlier thread, but let me elaborate what I
>> think one more time:
>>
>> Now, this is relevant for removable cards lacking GPIO card detect, as
>> for other cases and non-removable cards I think we are in agreement
>> that their is no issue from power consumption point of view, right!?
>>
>> 1. The current solution:
>> - Use MMC_CAP_NEEDS_POLL which makes the mmc core to re-schedule a
>> work once every second to poll for a card (Why is it one second? Could
>> we perhaps have that configurable?).
>
> The block layer handles media polling for removable block devices, and
> it is configurable.  For example, /sys/block/sr0/events_poll_msecs can
> be set to control how often the system polls for a disc in my DVD
> drive.
>
> Does MMC do its own polling separate from the block layer?  If so, why?

Good question. Probably because of legacy or perhaps to deal with corner cases.

When I get some spare bandwidth I will check to see if it makes sense
to convert MMC polling to the block layer polling.

Kind regards
Uffe

  reply	other threads:[~2016-04-08 20:51 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-25 16:05 [PATCH] sdhci: wakeup from runtime PM Ludovic Desroches
2016-03-25 16:05 ` Ludovic Desroches
2016-03-25 16:05 ` [PATCH] DRAFT: shdci: allows custom wakeup irqs for " Ludovic Desroches
2016-03-25 16:05   ` Ludovic Desroches
2016-03-25 16:46   ` kbuild test robot
2016-03-25 16:46     ` kbuild test robot
2016-03-25 16:50   ` kbuild test robot
2016-03-25 16:50     ` kbuild test robot
2016-03-25 17:12   ` kbuild test robot
2016-03-25 17:12     ` kbuild test robot
2016-03-25 17:27   ` kbuild test robot
2016-03-25 17:27     ` kbuild test robot
2016-03-25 16:05 ` [PATCH] mmc: sdhci-of-at91: allow the use of controller card detect as wake up Ludovic Desroches
2016-03-25 16:05   ` Ludovic Desroches
2016-03-25 17:11   ` [PATCH] mmc: sdhci-of-at91: fix semicolon.cocci warnings kbuild test robot
2016-03-25 17:11     ` kbuild test robot
2016-03-25 17:11   ` [PATCH] mmc: sdhci-of-at91: allow the use of controller card detect as wake up kbuild test robot
2016-03-25 17:11     ` kbuild test robot
2016-04-05 12:40 ` [PATCH] sdhci: wakeup from runtime PM Adrian Hunter
2016-04-07  9:11   ` Ulf Hansson
2016-04-07 15:12     ` Ludovic Desroches
2016-04-08  8:35       ` Ulf Hansson
2016-04-08 15:19         ` Alan Stern
2016-04-08 20:51           ` Ulf Hansson [this message]
2016-04-11 12:09         ` Ludovic Desroches

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='CAPDyKFqMOmNhXfJGVyvBvc5dD=wTR3Wvz64CuL8iq4dQJSHk3g@mail.gmail.com' \
    --to=ulf.hansson@linaro.org \
    --cc=adrian.hunter@intel.com \
    --cc=linux-mmc@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=ludovic.desroches@atmel.com \
    --cc=nicolas.ferre@atmel.com \
    --cc=stern@rowland.harvard.edu \
    /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.