From: shawn.guo@linaro.org (Shawn Guo)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 0/4] Extend sdhci-esdhc-imx card_detect and write_protect support for mx5
Date: Wed, 15 Jun 2011 19:15:18 +0800 [thread overview]
Message-ID: <1308136522-3403-1-git-send-email-shawn.guo@linaro.org> (raw)
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 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 | 123 ++++++++++++--------
drivers/mmc/host/sdhci.c | 23 +++-
10 files changed, 145 insertions(+), 66 deletions(-)
next reply other threads:[~2011-06-15 11:15 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-15 11:15 Shawn Guo [this message]
2011-06-15 11:15 ` [PATCH v2 1/4] mmc: sdhci: fix interrupt storm from card detection Shawn Guo
2011-06-15 11:15 ` [PATCH v2 2/4] mmc: sdhci-esdhc-imx: SDHCI_CARD_PRESENT does not get cleared Shawn Guo
2011-06-16 12:01 ` Wolfram Sang
2011-06-15 11:15 ` [PATCH v2 3/4] mmc: sdhci-esdhc-imx: remove "WP" from flag ESDHC_FLAG_GPIO_FOR_CD_WP Shawn Guo
2011-06-15 11:15 ` [PATCH v2 4/4] mmc: sdhci-esdhc-imx: extend card_detect and write_protect support for mx5 Shawn Guo
2011-06-16 12:10 ` Wolfram Sang
2011-06-17 8:18 ` [PATCH v2 4/4 RESEND] " Shawn Guo
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=1308136522-3403-1-git-send-email-shawn.guo@linaro.org \
--to=shawn.guo@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).