[PATCH v3 0/2] Add retry tuning sequence

From: Judith Mendez
Date: Mon Aug 26 2024 - 17:05:21 EST


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@xxxxxx
link to v2:
https://lore.kernel.org/linux-mmc/20240821192435.1619271-1-jm@xxxxxx

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