On Wed, Feb 21, 2024 at 10:50 AM Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> wrote: > > I've sent a patch, can you test? > > https://lore.kernel.org/linux-mmc/20240220-fix-sh-mmcif-v1-1-b9d08a787c1f@xxxxxxxxxx/T/#u > > While that patch fixes the BUG, it does not make the eMMC work fully. > It spews: > > sh_mmcif ee200000.mmc: Timeout waiting for 2 on CMD18 > > and no or limited data is read ("hd /dev/mmcblk..." blocks after no > or two lines of output). > > I still need to revert 27b57277d9ba to restore proper operation. Halfway there. I looked at the code again and now I think I found the problem causing CMD18 to time out. I've send a new 2-patch series: https://lore.kernel.org/linux-mmc/20240221-fix-sh-mmcif-v2-0-5e521eb25ae4@xxxxxxxxxx/ Yours, Linus Walleij