Skip to content

Fix issues with command queuing in arasan controllers

Faiz Abbas linux-mmc lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3mmc: sdhci: Add Quirk to reset data lines after tuningdrivers/mmc/host/sdhci.c drivers/mmc/host/sdhci.h+7 -00 replies
2/3mmc: sdhci_am654: Enable Quirk to reset data after tuningdrivers/mmc/host/sdhci_am654.c+6 -30 replies
3/3mmc: sdhci-of-arasan: Fix Command Queuing enable handlingdrivers/mmc/host/sdhci-of-arasan.c+4 -171 reply

Reviews trailers per patch

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

PatchShawn Lin
1/3
2/3
3/3T-b

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] Fix issues with command queuing in arasan controllers

In some Arasan SDHCI controllers, after tuning, the tuning pattern data is leftover in the sdhci buffer. This leads to issues with future data commands, especially when command queuing is enabled. The following patches help fix this issue by resetting data lines after tuning is finished. The first two patches have been tested with TI's am65x and j721e SoCs using the sdhci_am654 driver.

I have a strong suspicion that this is the same issue with the sdhci-of-arasan driver where they are forced to dump data from the buffer before enabling command queuing. I need help from someone with a compatible platform to test this.

Faiz Abbas (3):
mmc: sdhci: Add Quirk to reset data lines after tuning
mmc: sdhci_am654: Enable Quirk to reset data after tuning
mmc: sdhci-of-arasan: Fix Command Queuing enable handling

 drivers/mmc/host/sdhci-of-arasan.c | 21 ++++-----------------
 drivers/mmc/host/sdhci.c           |  3 +++
 drivers/mmc/host/sdhci.h           |  4 ++++
 drivers/mmc/host/sdhci_am654.c     |  9 ++++++---
 4 files changed, 17 insertions(+), 20 deletions(-)
Signature · 1 line
2.19.2