[Letux-kernel] X1600 / LX16 support - here: adding MMC

H. Nikolaus Schaller hns at goldelico.com
Fri Feb 9 22:51:42 CET 2024

> Am 09.02.2024 um 19:27 schrieb H. Nikolaus Schaller <hns at goldelico.com>:
> PS: an important observation is that the reset times out...
> The IS_RESETTING bit (BIT(15) @ b3450004) is still "1".
> But before the next run it is "0".
> IMHO the udelay(10) should be inside the waiting loop.
> Or the timeout speed depends heavily on the processor type.
> This bug was right from the beginning in 61bfbdb856879c
> Maybe I'll post a Fixes: patch...

1. I tried with higher timeout values

Up to a value where I could see the printk() making a 10 seconds pause.
But there is still a timeout waiting for IS_RESETTING to become "0".


2. better idea: replace by readl_poll_timeout()

More information about the Letux-kernel mailing list