All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/4] Extend sdhci-esdhc-imx card_detect and write_protect support for mx5
@ 2011-06-21 14:41 ` Shawn Guo
  0 siblings, 0 replies; 24+ messages in thread
From: Shawn Guo @ 2011-06-21 14:41 UTC (permalink / raw)
  To: linux-mmc
  Cc: Chris Ball, Wolfram Sang, Arnaud Patard, Eric Benard,
	Philip Rakity, linux-arm-kernel, patches

The card-present polling for sdhci based driver is very expensive
in terms of the impact to system performance.  We observe a few
system performance issues from Freescale and Linaro on mx5 platforms,
which have been proved card polling related.

The patch set extends the current sdhci-esdhc-imx card_detect and
write_protect support to cover mx5 platforms, and solves above
performance issues.

Changes since v3:
 * Address comment from Philip Rakity on sdhci_set_card_detection
 * Change a couple of dev_warn to dev_err in sdhci-esdhc-imx.c per
   Arnaud Patard's comment
 * Add Arnaud Patard's Test-by
 * Add missing Acked-by, Cc stable on patch #2

Changes since v2:
 * Fix the issue reported by Arnaud Patard:
   http://article.gmane.org/gmane.linux.ports.arm.kernel/120790

Changes since v1:
 * Rebase on today's linux-next
 * Take the suggestion from Arnaud Patard to add default pdata in
   imx_add_sdhci_esdhc_imx(), to avoid touching every single board
   file for the platform_data changes
 * Add comment for sdhci.c change
 * Change ESDHC_CD(WP)_SIGNAL to ESDHC_CD(WP)_CONTROLLER for a more
   descriptive name
 * Add missing NONE case handling in esdhc_pltfm_get_ro
 * Improve a couple comment wording per suggestion from Wolfram Sang

Shawn Guo (4):
      mmc: sdhci: fix interrupt storm from card detection
      mmc: sdhci-esdhc-imx: SDHCI_CARD_PRESENT does not get cleared
      mmc: sdhci-esdhc-imx: remove "WP" from flag ESDHC_FLAG_GPIO_FOR_CD_WP
      mmc: sdhci-esdhc-imx: extend card_detect and write_protect support for mx5

 arch/arm/mach-imx/eukrea_mbimxsd25-baseboard.c     |    3 +-
 arch/arm/mach-imx/eukrea_mbimxsd35-baseboard.c     |    3 +-
 arch/arm/mach-imx/mach-mx25_3ds.c                  |    2 +
 arch/arm/mach-imx/mach-pcm043.c                    |    2 +
 arch/arm/mach-mx5/board-mx51_babbage.c             |   14 +-
 arch/arm/mach-mx5/board-mx53_loco.c                |    4 +
 .../plat-mxc/devices/platform-sdhci-esdhc-imx.c    |   12 ++
 arch/arm/plat-mxc/include/mach/esdhc.h             |   25 +++-
 drivers/mmc/host/sdhci-esdhc-imx.c                 |  140 ++++++++++++--------
 drivers/mmc/host/sdhci.c                           |   29 ++++-
 10 files changed, 165 insertions(+), 69 deletions(-)

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

end of thread, other threads:[~2011-07-01 23:07 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-21 14:41 [PATCH v4 0/4] Extend sdhci-esdhc-imx card_detect and write_protect support for mx5 Shawn Guo
2011-06-21 14:41 ` Shawn Guo
2011-06-21 14:41 ` [PATCH v4 1/4] mmc: sdhci: fix interrupt storm from card detection Shawn Guo
2011-06-21 14:41   ` Shawn Guo
2011-06-21 16:05   ` Philip Rakity
2011-06-21 16:05     ` Philip Rakity
2011-06-22  4:40     ` Shawn Guo
2011-06-22  4:40       ` Shawn Guo
2011-06-22  4:41       ` Philip Rakity
2011-06-22  4:41         ` Philip Rakity
2011-06-21 14:41 ` [PATCH v4 2/4] mmc: sdhci-esdhc-imx: SDHCI_CARD_PRESENT does not get cleared Shawn Guo
2011-06-21 14:41   ` Shawn Guo
2011-06-21 14:41 ` [PATCH v4 3/4] mmc: sdhci-esdhc-imx: remove "WP" from flag ESDHC_FLAG_GPIO_FOR_CD_WP Shawn Guo
2011-06-21 14:41   ` Shawn Guo
2011-06-21 14:41 ` [PATCH v4 4/4] mmc: sdhci-esdhc-imx: extend card_detect and write_protect support for mx5 Shawn Guo
2011-06-21 14:41   ` Shawn Guo
2011-06-27  1:38 ` [PATCH v4 0/4] Extend sdhci-esdhc-imx " Shawn Guo
2011-06-27  1:38   ` Shawn Guo
2011-06-27  3:47   ` Chris Ball
2011-06-27  3:47     ` Chris Ball
2011-06-27  4:23     ` Shawn Guo
2011-06-27  4:23       ` Shawn Guo
2011-07-01 23:06       ` Chris Ball
2011-07-01 23:06         ` Chris Ball

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.