Hi Uli, On Fri, May 14, 2021 at 05:53:18PM +0200, Ulrich Hecht wrote: > The TMIO core sets a very low latency limit (100 us), but when using R-Car > SDHI hosts with SD cards, I have observed typical latencies of around 20-30 > ms. This prevents runtime PM from working properly, and the devices remain > on continuously. > > This patch sets the default latency limit to 100 ms to avoid that. > > Signed-off-by: Ulrich Hecht <uli+renesas@xxxxxxxx> Well, yes, I can confirm that this helps wrt the "always-enabled" clock. However, when removing UHS cards, I now see this regression: [ 8.659916] mmcblk2: mmc2:0001 00000 29.8 GiB [ 8.677304] mmcblk2: p1 [ 9.622918] mmc2: tuning execution failed: -5 [ 9.627385] mmc2: card 0001 removed It is interesting to see the "execution failed" error when *removing* the card. Before removing, access to the card seems fine. I haven't checked further, so I can't say yet if this is a related or seperate but now undiscovered issue. Thanks for the work so far! Wolfram
Attachment:
signature.asc
Description: PGP signature