All of lore.kernel.org
 help / color / mirror / Atom feed
From: Konstantin Dorfman <kdorfman@codeaurora.org>
To: NeilBrown <neilb@suse.de>, Ulf Hansson <ulf.hansson@linaro.org>
Cc: linux-mmc@vger.kernel.org, Adrian Hunter <adrian.hunter@intel.com>
Subject: Re: [PATCH] mmc: core: Enable runtime PM management of host devices
Date: Sun, 29 Mar 2015 13:53:53 +0300	[thread overview]
Message-ID: <5517D9C1.5080302@codeaurora.org> (raw)
In-Reply-To: <20150328085242.5e1e1acc@notabene.brown>



On 03/28/2015 12:52 AM, NeilBrown wrote:
> On Fri, 27 Mar 2015 12:15:15 +0100 Ulf Hansson <ulf.hansson@linaro.org> wrote:
>
>> Currently those host drivers which have deployed runtime PM, deals with
>> the runtime PM reference counting entirely by themselves.
>>
>> Since host drivers don't know when the core will send the next request
>> through some of the host_ops callbacks, they need to handle runtime PM
>> get/put between each an every request.
>>
>> In quite many cases this has some negative effects, since it leads to a
>> high frequency of scheduled runtime PM suspend operations. That due to
>> the runtime PM reference count will normally reach zero in-between
>> every request.

It would be nice to have some numbers about this suspend/resume jitter 
of platform device pm due to time between consecutive requests within 
burst of requests.

Probably we can tune autosuspend timer of specific platform device to 
avoid this.

Implementing the patch in a way that you are suggesting will imply that 
the mmc core will always use double buffering request polling scheme and 
the existing mechanism of "request burst" definition.

Thanks,
Kostya

-- 
Qualcomm Israel, on behalf of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project

  reply	other threads:[~2015-03-29 10:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-27 11:15 [PATCH] mmc: core: Enable runtime PM management of host devices Ulf Hansson
2015-03-27 12:41 ` Adrian Hunter
2015-03-27 21:52 ` NeilBrown
2015-03-29 10:53   ` Konstantin Dorfman [this message]
2015-03-30  8:48     ` Ulf Hansson
2015-03-30  8:58   ` Ulf Hansson
2015-03-30 11:39 ` Konstantin Dorfman

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=5517D9C1.5080302@codeaurora.org \
    --to=kdorfman@codeaurora.org \
    --cc=adrian.hunter@intel.com \
    --cc=linux-mmc@vger.kernel.org \
    --cc=neilb@suse.de \
    --cc=ulf.hansson@linaro.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.