From: Ulf Hansson <ulf.hansson@stericsson.com>
To: linux-mmc@vger.kernel.org, Chris Ball <cjb@laptop.org>
Cc: Per Forlin <per.forlin@stericsson.com>,
Ulf Hansson <ulf.hansson@stericsson.com>,
Johan Rudholm <johan.rudholm@stericsson.com>,
Lee Jones <lee.jones@linaro.org>
Subject: [PATCH V2 0/2] mmc: Minimize resume time for sd/mmc
Date: Wed, 14 Dec 2011 16:06:08 +0100 [thread overview]
Message-ID: <1323875170-7103-1-git-send-email-ulf.hansson@stericsson.com> (raw)
Typically an sd/mmc card takes around 200 - 1100 ms to
initialize when the power to the card has been cut, which
is what happens during a suspend/resume sequence.
All device's resume time adds up to the total kernel resume
time. Some use cases requires the kernel to be resumed fast,
to be able to meet deadlines. One use case example is WLAN
SOFT_AP, but there are certainly more.
This patch serie deferres the resume for mmc/sd cards into
a delayed work to be able to respond quickly on the suspend
request. Earlier the blkdev were issuing a set_blksize as a
part of the blkdev resume, which right now is removed since
it is not needed. In future, if other block sizes than 512
bytes is used, this needs to be re-implemented in a different
manner.
A deferred resume feature has been discussed on the mmc-list
previously but did not end up in a final patch/solution.
Ulf Hansson (2):
mmc: block: Remove use of mmc_blk_set_blksize
mmc: Minimize resume-time by deferring resume
drivers/mmc/card/block.c | 35 +++++++++--------------------------
drivers/mmc/core/core.c | 36 +++++++++++++++++++++++++++++++++++-
drivers/mmc/core/core.h | 1 +
drivers/mmc/core/host.c | 1 +
include/linux/mmc/host.h | 16 ++++++++++++++++
5 files changed, 62 insertions(+), 27 deletions(-)
--
1.7.5.4
next reply other threads:[~2011-12-14 15:07 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-14 15:06 Ulf Hansson [this message]
2011-12-14 15:06 ` [PATCH V2 1/2] mmc: block: Remove use of mmc_blk_set_blksize Ulf Hansson
2011-12-14 15:06 ` [PATCH V2 2/2] mmc: Minimize resume-time by deferring resume Ulf Hansson
[not found] ` <CAMJBoFNU_+Ah8oxXy2Smr5L5oZ4wjZ1m8v6sp-kVcxgk4kYmNg@mail.gmail.com>
2011-12-14 15:29 ` Ulf Hansson
[not found] ` <CAMJBoFM9v9ugDL8gtNJ+AMCKmvOsUQHEmEf13VDXko41AkFfFA@mail.gmail.com>
[not found] ` <CAMJBoFPcBzezFDRXpL36zJZTttGgUFzDCUaFC69Pxg+gEWcAOw@mail.gmail.com>
2011-12-14 16:43 ` Ulf Hansson
[not found] ` <CAMJBoFPSEtM1rQ7Rq8d+Y6Qgd_GKq2o4p=vk60wZdbJ_Mhk_Gw@mail.gmail.com>
2011-12-15 9:22 ` Ulf Hansson
[not found] ` <CAMJBoFN5tub+Lv5p2Ae3UQY48G2TMBBmdkdsA1TNDqf2stDGVg@mail.gmail.com>
2011-12-19 11:03 ` Ulf Hansson
[not found] ` <4EEF0541.6070306@stericsson.com>
2011-12-19 12:21 ` Ulf Hansson
2012-01-03 15:24 ` [PATCH V2 0/2] mmc: Minimize resume time for sd/mmc Ulf Hansson
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=1323875170-7103-1-git-send-email-ulf.hansson@stericsson.com \
--to=ulf.hansson@stericsson.com \
--cc=cjb@laptop.org \
--cc=johan.rudholm@stericsson.com \
--cc=lee.jones@linaro.org \
--cc=linux-mmc@vger.kernel.org \
--cc=per.forlin@stericsson.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.