Hi Fabio, On Mon, Feb 03, 2020 at 04:19:50PM -0300, Fabio Estevam wrote: > Hi, > > I observe the following timeout on a imx8mq-evk running linux-next 20200203: > > # [ 11.747858] mmc0: Timeout waiting for hardware interrupt. > [ 11.753264] mmc0: sdhci: ============ SDHCI REGISTER DUMP =========== > [ 11.759705] mmc0: sdhci: Sys addr: 0x00000800 | Version: 0x00000002 > [ 11.766145] mmc0: sdhci: Blk size: 0x00000200 | Blk cnt: 0x00000001 > [ 11.772584] mmc0: sdhci: Argument: 0x00000000 | Trn mode: 0x00000013 > [ 11.779024] mmc0: sdhci: Present: 0x01f88a0a | Host ctl: 0x00000011 > [ 11.785463] mmc0: sdhci: Power: 0x00000002 | Blk gap: 0x00000080 > [ 11.791902] mmc0: sdhci: Wake-up: 0x00000008 | Clock: 0x000020ff > [ 11.798342] mmc0: sdhci: Timeout: 0x0000008f | Int stat: 0x00000000 > [ 11.804781] mmc0: sdhci: Int enab: 0x117f100b | Sig enab: 0x117f100b > [ 11.811220] mmc0: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00008402 > [ 11.817660] mmc0: sdhci: Caps: 0x07eb0000 | Caps_1: 0x8000b407 > [ 11.824100] mmc0: sdhci: Cmd: 0x0000083a | Max curr: 0x00ffffff > [ 11.830539] mmc0: sdhci: Resp[0]: 0x00000900 | Resp[1]: 0xffffffff > [ 11.836978] mmc0: sdhci: Resp[2]: 0x320f5913 | Resp[3]: 0x00d04f01 > [ 11.843416] mmc0: sdhci: Host ctl2: 0x00000008 > [ 11.847860] mmc0: sdhci: ADMA Err: 0x00000001 | ADMA Ptr: 0xf97d2200 > [ 11.854297] mmc0: sdhci: ============================================ > [ 11.860908] mmc0: error -110 whilst initialising MMC card > [ 12.027806] mmc0: new HS400 MMC card at address 0001 > [ 12.033283] mmcblk0: mmc0:0001 R1J56L 13.8 GiB > [ 12.038007] mmcblk0boot0: mmc0:0001 R1J56L partition 1 4.00 MiB > [ 12.044112] mmcblk0boot1: mmc0:0001 R1J56L partition 2 4.00 MiB > [ 12.050172] mmcblk0rpmb: mmc0:0001 R1J56L partition 3 128 KiB, > chardev (235:0) > [ 12.058210] mmcblk0: p1 p2 > > Haven't had a chance to debug this yet, but just reporting in case > anyone has any ideas. I've seen the same occasionally on the librem 5 with older linux-next as well. Do you have a good reproducer? Cheers, -- Guido > > Thanks >