sdhci timeout on wakeup

From: Frederic Chardon <chardon.frederic_at_gmail.com>
Date: Wed, 18 Nov 2020 11:00:50 +0100
Hello

Any time I wake my laptop from sleep, I get these errors a dozen times
on the console.

sdhci_pci0-slot0: Controller timeout
sdhci_pci0-slot0: ============== REGISTER DUMP ==============
sdhci_pci0-slot0: Sys addr: 0x00000000 | Version:  0x0000c001
sdhci_pci0-slot0: Blk size: 0x00000000 | Blk cnt:  0x00000000
sdhci_pci0-slot0: Argument: 0x00000000 | Trn mode: 0x00000000
sdhci_pci0-slot0: Present:  0x01f70000 | Host ctl: 0x00000001
sdhci_pci0-slot0: Power:    0x0000000f | Blk gap:  0x00000000
sdhci_pci0-slot0: Wake-up:  0x00000000 | Clock:    0x00004007
sdhci_pci0-slot0: Timeout:  0x00000000 | Int stat: 0x00000001
sdhci_pci0-slot0: Int enab: 0x01ff00fb | Sig enab: 0x01ff00fb
sdhci_pci0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000
sdhci_pci0-slot0: Caps:     0x21fe32b2 | Caps2:    0x00000077
sdhci_pci0-slot0: Max curr: 0x00000064 | ADMA err: 0x00000000
sdhci_pci0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000001
sdhci_pci0-slot0: ===========================================

Eventually it stops and then everything is working without issues, the
annoying part is that it takes a few minutes to wake.

This is running current at r367762, however this issue lasts since
sleeping with drm started working for me a few months ago. The laptop
is a Latitude E5430 booting through UEFI. The sd slot is empty.

Anything I could do to prevent this from happening?

Thanks
Received on Wed Nov 18 2020 - 09:01:05 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:25 UTC