Skip to content

Improve MMC error handling (3rd rev)

Russell King - ARM Linux linux-arm-kernel linux-mmc 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3MMC: allow get_card_status() to return error statusdrivers/mmc/card/block.c include/linux/mmc/mmc.h+19 -240 replies
2/3MMC: improve error recovery from command channel errorsdrivers/mmc/card/block.c+182 -480 replies
3/3MMC: add checking of r/w command responsedrivers/mmc/card/block.c+25 -10 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchLinus WalleijPawel Moll
SeriesA-b T-b
1/3
2/3
3/3

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/3] Improve MMC error handling (3rd rev)

This is the third revision of my improvements to the MMC block device error handling, which makes error handling more robust and permits MMC/SD to continue working in the presence of not-quite-perfect setups.

Without this, my Versatile Express tends to fail to mount its rootfs on SD. With this, it can successfully read and write data from the card in the presence of FIFO overruns and underruns, and also sensibly recover from command channel errors.

There is more to come, but this is the "safer" bits of the improvements.

 drivers/mmc/card/block.c |  279 ++++++++++++++++++++++++++++++++++-----------
 include/linux/mmc/mmc.h  |   10 ++
 2 files changed, 221 insertions(+), 68 deletions(-)