Skip to content

MMC: disable multiblock reads on controllers that don't support them

Paul Walmsley linux-arm-kernel linux-mmc linux-omap 1 version New

Get series with b4
b4 am 20111006205002.7083.94088.stgit@dusk

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2MMC: add workaround for controllers with broken multiblock readsdrivers/mmc/card/block.c include/linux/mmc/host.h+15 -70 replies
2/2MMC: omap_hsmmc: disable multiblock reads when platform_data indicates that they are brokenarch/arm/plat-omap/include/plat/mmc.h drivers/mmc/host/omap_hsmmc.c+22 -10 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchSteve Sakoman
SeriesT-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] MMC: disable multiblock reads on controllers that don't support them

Hello,

Some MMC controller instances integrated on older OMAP34xx/35xx chips don't work correctly with multiple-block reads, due to a hardware bug. This series fixes the problem by adding an MMC capability flag for this case and making the appropriate changes to the MMC core code and OMAP HSMMC driver to support this.

Once this series is merged, a subsequent patch will be needed by us OMAP folks to pass the appropriate device data via hwmod - this will be posted separately.

- Paul

---
mmc_errata_2.1.1.128_fix_3.2
text data bss dec hex filename
6325283 655708 5591124 12572115 bfd5d3 vmlinux.omap2plus_defconfig.orig
6329423 655700 5591124 12576247 bfe5f7 vmlinux.omap2plus_defconfig.patched

Paul Walmsley (2):
MMC: add workaround for controllers with broken multiblock reads
MMC: omap_hsmmc: disable multiblock reads when platform_data indicates that they are broken

 arch/arm/plat-omap/include/plat/mmc.h |   19 ++++++++++++++++++-
 drivers/mmc/card/block.c              |   21 ++++++++++++++-------
 drivers/mmc/host/omap_hsmmc.c         |    4 ++++
 include/linux/mmc/host.h              |    1 +
 4 files changed, 37 insertions(+), 8 deletions(-)