[PATCH 0/3] SDIO suspend/resume optimizations

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

 



Remove redundant power and card reinitialization cycles involved with
SDIO suspend/resume transitions, especially when interacting with SDIO
runtime PM.

As a result, suspend/resume latencies are reduced and battery life is
improved.

I have not done any latencies or power measurements, but I am pretty
certain the numbers will not be very big.

Having said that, common mobile platform (such as Android and OLPC) are
aggressively utilizing full system suspend in order to save as much energy
as possible.

In those systems, suspend/resume transitions happen very frequently,
and even small enhancements, as presented in this patchset, may eventually
deem substantial.

Please note that these changes should be completely safe on all environment.

Patches have passed overnight stress with the script mentioned at:
http://www.mail-archive.com/linux-mmc@xxxxxxxxxxxxxxx/msg03923.html

PS - I'm going on a plane and will not have Internet access so apologies
for belated replies.

Ohad Ben-Cohen (3):
  mmc: skip detection of nonremovable cards on rescan
  mmc: sdio: don't reinitialize nonremovable powered-resumed cards
  mmc: sdio: don't power up cards on system suspend

 drivers/mmc/core/core.c     |   21 +++++++++++++++++++--
 drivers/mmc/core/sdio.c     |   16 ++++++++++++++--
 drivers/mmc/core/sdio_bus.c |   32 --------------------------------
 include/linux/mmc/host.h    |    5 +++++
 4 files changed, 38 insertions(+), 36 deletions(-)

--
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