mbox series

[v3,0/2] Add retry tuning sequence

Message ID 20240826210454.3928033-1-jm@ti.com (mailing list archive)
Headers show
Series Add retry tuning sequence | expand

Message

Judith Mendez Aug. 26, 2024, 9:04 p.m. UTC
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