linux-mmc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] Fix issues with command queuing in arasan controllers
@ 2019-12-30  9:23 Faiz Abbas
  2019-12-30  9:23 ` [PATCH 1/3] mmc: sdhci: Add Quirk to reset data lines after tuning Faiz Abbas
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Faiz Abbas @ 2019-12-30  9:23 UTC (permalink / raw)
  To: linux-kernel, linux-mmc; +Cc: ulf.hansson, adrian.hunter, faiz_abbas, shawn.lin

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(-)

-- 
2.19.2


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

end of thread, other threads:[~2020-01-08 12:03 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-30  9:23 [PATCH 0/3] Fix issues with command queuing in arasan controllers Faiz Abbas
2019-12-30  9:23 ` [PATCH 1/3] mmc: sdhci: Add Quirk to reset data lines after tuning Faiz Abbas
2019-12-30  9:23 ` [PATCH 2/3] mmc: sdhci_am654: Enable Quirk to reset data " Faiz Abbas
2019-12-30  9:23 ` [RFT PATCH 3/3] mmc: sdhci-of-arasan: Fix Command Queuing enable handling Faiz Abbas
2020-01-03  0:36   ` Shawn Lin
2020-01-08 11:30 ` [PATCH 0/3] Fix issues with command queuing in arasan controllers Faiz Abbas
2020-01-08 11:42   ` Adrian Hunter
2020-01-08 11:49     ` Faiz Abbas
2020-01-08 11:59       ` Adrian Hunter
2020-01-08 12:04         ` Faiz Abbas

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).