[PATCH 0/4] mmc: core: Extend runtime PM support for sd/mmc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patchset is step by step improving support for runtime PM in the mmc core
layer for sd and mmc. The sequence for how to handle suspend/resume while using
MMC_CAP_AGGRESSIVE_PM is now optimized to only perform actions when needed and
thus improving especially the suspend time. 

The two first patches has been sent earlier to the mmc-list, but for convenience
I have decided to fold them in here instead. The old versions of these can be
dropped.

The final patch is adding a new host cap, MMC_CAP_RUNTIME_RESUME, which means
the resume is moved to be finalized at the runtime_resume. Using this feature
will have great impact on the total resume time for the platform.

Patches has been tested on ux500, using a various of combination of
MMC_CAP_RUNTIME_RESUME, MMC_CAP_AGGRESSIVE_PM and MMC_CAP_NONREMOVABLE. The
needed CONFIG_MMC_UNSAFE_RESUME has also been set.

Ulf Hansson (4):
  mmc: Don't force card to active state when entering suspend/shutdown
  mmc: core: Remove redundant mmc_power_up|off at runtime callbacks
  mmc: core: Improve runtime PM support during suspend/resume for
    sd/mmc
  mmc: core: Add MMC_CAP_RUNTIME_RESUME to resume at runtime_resume

 drivers/mmc/card/block.c |    2 -
 drivers/mmc/core/mmc.c   |   94 ++++++++++++++++++++++++++++++++--------------
 drivers/mmc/core/sd.c    |   79 ++++++++++++++++++++++++++------------
 include/linux/mmc/card.h |    4 ++
 include/linux/mmc/host.h |    1 +
 5 files changed, 125 insertions(+), 55 deletions(-)

-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux