public inbox for linux-mmc@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH V3 0/4] mmc: Use runtime pm for blkdevice
@ 2013-04-16 10:00 Ulf Hansson
  2013-04-16 10:00 ` [PATCH V3 1/4] mmc: core: Stop bkops for eMMC only from mmc suspend Ulf Hansson
                   ` (3 more replies)
  0 siblings, 4 replies; 21+ messages in thread
From: Ulf Hansson @ 2013-04-16 10:00 UTC (permalink / raw)
  To: linux-mmc, Chris Ball; +Cc: Ulf Hansson

From: Ulf Hansson <ulf.hansson@linaro.org>

SDIO has been using runtime pm for a while to handle runtime power save
operations. This patchset is enabling the option to make the sd/mmc
blockdevices to use runtime pm as well.

The runtime pm implementation for the block device will make use of
autosuspend to defer power save operation to after request inactivty for
a certain time.

Corresponding pm_runtime_get|put calls has been added at those places that
do requires the card to be fully powered to communicate.

Patch 4 can be considered as a proof of concept patch. It implements
aggressive power management for (e)MMC/SD. This feature has also been
discussed on the mmc mailing list previously.

Next step would be to implement the IDLE BKOPS on top of the runtime pm
callbacks.

Changes in v2:
        - Removed the stated patch below from this patchset. It can be handled
        separately. "mmc: core: Remove power_restore bus_ops for mmc and sd"
        - Rebased patches on latest mmc-next.
        - Added Acks.

Ulf Hansson (4):
  mmc: core: Stop bkops for eMMC only from mmc suspend
  mmc: core: Add bus_ops for runtime pm callbacks
  mmc: block: Enable runtime pm for mmc blkdevice
  mmc: core: Support aggressive power management for (e)MMC/SD

 drivers/mmc/card/block.c   |   32 +++++++++++++++++++++-----
 drivers/mmc/core/bus.c     |   14 ++++++++++--
 drivers/mmc/core/core.c    |   47 +++++++++++++++++++++------------------
 drivers/mmc/core/core.h    |    3 +++
 drivers/mmc/core/debugfs.c |    8 +++----
 drivers/mmc/core/mmc.c     |   53 ++++++++++++++++++++++++++++++++++++++++++--
 drivers/mmc/core/sd.c      |   46 ++++++++++++++++++++++++++++++++++++--
 drivers/mmc/core/sdio.c    |   16 +++++++++++++
 include/linux/mmc/core.h   |    3 +++
 include/linux/mmc/host.h   |    2 +-
 10 files changed, 185 insertions(+), 39 deletions(-)

-- 
1.7.10


^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2013-05-28  6:49 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-16 10:00 [PATCH V3 0/4] mmc: Use runtime pm for blkdevice Ulf Hansson
2013-04-16 10:00 ` [PATCH V3 1/4] mmc: core: Stop bkops for eMMC only from mmc suspend Ulf Hansson
2013-04-18  7:17   ` Jaehoon Chung
2013-04-16 10:00 ` [PATCH V3 2/4] mmc: core: Add bus_ops for runtime pm callbacks Ulf Hansson
2013-04-26 13:11   ` Adrian Hunter
2013-04-29  7:54     ` Adrian Hunter
2013-04-29 13:42       ` Ulf Hansson
2013-04-16 10:00 ` [PATCH V3 3/4] mmc: block: Enable runtime pm for mmc blkdevice Ulf Hansson
2013-05-02  8:58   ` Adrian Hunter
2013-05-02  9:52     ` Ulf Hansson
2013-05-02  9:57       ` Asutosh Das
2013-05-02 11:09         ` Ulf Hansson
2013-05-02 12:22           ` Adrian Hunter
     [not found]   ` <CAMj5BkiOmh8sz-=b0z1VF9owGPX0KpbZeNfPzETemCb=C2odGQ@mail.gmail.com>
2013-05-24  8:27     ` Ulf Hansson
     [not found]       ` <CAMj5Bki+1=DSzQWYyEC1L=Pa6LpSFQKF3YvoUkkuq62wHuMWow@mail.gmail.com>
2013-05-27  7:51         ` Ulf Hansson
2013-05-27  7:52           ` Ulf Hansson
2013-05-28  6:49             ` zhangfei gao
2013-04-16 10:00 ` [PATCH V3 4/4] mmc: core: Support aggressive power management for (e)MMC/SD Ulf Hansson
2013-05-02 10:38   ` Adrian Hunter
2013-05-02 11:35     ` Ulf Hansson
2013-05-02 12:24       ` Adrian Hunter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox