public inbox for linux-mmc@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] Add retry tuning sequence
@ 2024-08-26 21:04 Judith Mendez
  2024-08-26 21:04 ` [PATCH v3 1/2] mmc: sdhci_am654: Add retry tuning Judith Mendez
  2024-08-26 21:04 ` [PATCH v3 2/2] mmc: sdhci_am654: Add prints to tuning algorithm Judith Mendez
  0 siblings, 2 replies; 4+ messages in thread
From: Judith Mendez @ 2024-08-26 21:04 UTC (permalink / raw)
  To: Ulf Hansson; +Cc: Adrian Hunter, linux-mmc, linux-kernel

Due to failures to find failing region issues seen on some
boards, add retry tuning sequence to make the tuning algorithm
more robust. The tuning algorithm will re-execute up to 10
times if there is no failing or passing itapdly.

Due to the same issue above, add prints to the tuning algorithm
to make debugging these corner-cases easier.

Changes since v2:
- Use do while loop instead of while in patch 1/2
- Move initialization of tuning_loop to sdhci_am654_init
- Separate error path in patch 1/2
- Move struct *dev = mmc_dev() to patch 2/2

link to v1:
https://lore.kernel.org/linux-mmc/20240815201542.421653-1-jm@ti.com
link to v2:
https://lore.kernel.org/linux-mmc/20240821192435.1619271-1-jm@ti.com

Judith Mendez (2):
  mmc: sdhci_am654: Add retry tuning
  mmc: sdhci_am654: Add prints to tuning algorithm

 drivers/mmc/host/sdhci_am654.c | 54 +++++++++++++++++++++++++++-------
 1 file changed, 43 insertions(+), 11 deletions(-)


base-commit: 538076ce6b8dfe5e8e8d9d250298030f165d8457
-- 
2.46.0


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

end of thread, other threads:[~2024-09-02 10:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-26 21:04 [PATCH v3 0/2] Add retry tuning sequence Judith Mendez
2024-08-26 21:04 ` [PATCH v3 1/2] mmc: sdhci_am654: Add retry tuning Judith Mendez
2024-09-02 10:19   ` Adrian Hunter
2024-08-26 21:04 ` [PATCH v3 2/2] mmc: sdhci_am654: Add prints to tuning algorithm Judith Mendez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox