Bug #297
openT440P card reader is broken.
0%
Description
I've been trying to figure out the reason why the card reader detects but doesn't work and crashes windows. Wanted to track this bug outside of the mailing list since that will probably get lost. I've even cross compared to the X250 and everything looks normal. Am I missing a GPIO? Is there something wrong with the PCIE detection? Perhaps a conflict with the wifi which is on the same PCIE root? Building off master as of 3/3/21
I get this in kernel:
kernel: pci 0000:00:1c.1: [8086:8c12] type 01 class 0x060400
kernel: pci 0000:00:1c.1: PME# supported from D0 D3hot D3cold
kernel: pci 0000:00:1c.1: PCI bridge to [bus 03]
kernel: pci 0000:00:1c.1: bridge window [mem 0x82300000-0x823fffff]
kernel: pci 0000:00:1c.1: PCI bridge to [bus 03]
kernel: pci 0000:00:1c.1: bridge window [mem 0x82300000-0x823fffff]
kernel: pcieport 0000:00:1c.1: PME: Signaling with IRQ 27
kernel: pcieport 0000:00:1c.1: AER: enabled with IRQ 27
This is my PCIE tree:
-[0000:00]-+-00.0 Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor DRAM Controller
+-02.0 Intel Corporation 4th Gen Core Processor Integrated Graphics Controller
+-03.0 Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller
+-04.0 Intel Corporation Device 0c03
+-14.0 Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI
+-16.0 Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1
+-19.0 Intel Corporation Ethernet Connection I217-LM
+-1a.0 Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2
+-1b.0 Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller
+-1c.0-[02]----00.0 Realtek Semiconductor Co., Ltd. RTS5227 PCI Express Card Reader
+-1c.1-[03]----00.0 Intel Corporation Wireless 7265
+-1d.0 Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1
+-1f.0 Intel Corporation QM87 Express LPC Controller
+-1f.2 Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode]
-1f.3 Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller
LSPCI -vv : https://pastebin.com/0hbb0vZg
I've attached CBMEM logs as well. A bit out of ideas, just sitting with fingers crossed hoping a haswell or lynxpoint commit fixes it :)
Files
Updated by Paul Menzel over 3 years ago
Sorry, you are only saying using the card reader crashes Microsoft Windows, right? Does it work in GNU/Linux?
Updated by Jamal Wright over 3 years ago
GNU/Linux?
It doesn't work in linux but thankfully doesn't crash it. I get nothing from the realtek driver module either. On the X250 a kmessage shows up when an sd card is inserted. I get PCIE errors in both windows and as shown from that log, linux. I've also tried removing the wireless card and all other removable PCIE devices before booting but no change.
Updated by Jamal Wright over 3 years ago
I think part of the log is cut off:
Feb 28 09:55:36 t440p kernel: pcieport 0000:00:1c.1: AER: Corrected error received: 0000:00:1c.1
Feb 28 09:55:36 t440p kernel: pcieport 0000:00:1c.1: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
Feb 28 09:55:36 t440p kernel: pcieport 0000:00:1c.1: device [8086:8c12] error status/mask=00000001/00002000
Updated by Paul Menzel over 3 years ago
(Please use Markdown formatting, so your comments are well legible.)
It might have to do something with power saving features. See the ASPM entries below in the lspci -vv
output with coreboot.
02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5227 PCI Express Card Reader (rev 01)
Subsystem: Realtek Semiconductor Co., Ltd. RTS5227 PCI Express Card Reader
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 29
Region 0: Memory at 82200000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [40] Power Management version 3
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0-,D1+,D2+,D3hot+,D3cold+)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
Address: 00000000fee002b8 Data: 0000
Capabilities: [70] Express (v2) Endpoint, MSI 00
DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s unlimited, L1 unlimited
ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset- SlotPowerLimit 0.000W
DevCtl: CorrErr- NonFatalErr- FatalErr- UnsupReq-
RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop-
MaxPayload 128 bytes, MaxReadReq 512 bytes
DevSta: CorrErr- NonFatalErr- FatalErr- UnsupReq- AuxPwr+ TransPend-
LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s unlimited, L1 <64us
ClockPM+ Surprise- LLActRep- BwNot- ASPMOptComp+
LnkCtl: ASPM L1 Enabled; RCB 64 bytes, Disabled- CommClk-
ExtSynch- ClockPM+ AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 2.5GT/s (ok), Width x1 (ok)
TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
DevCap2: Completion Timeout: Not Supported, TimeoutDis+ NROPrPrP- LTR+
10BitTagComp- 10BitTagReq- OBFF Via message/WAKE#, ExtFmt- EETLPPrefix-
EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit-
FRS- TPHComp- ExtTPHComp-
AtomicOpsCap: 32bit- 64bit- 128bitCAS-
DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis- LTR+ OBFF Disabled,
AtomicOpsCtl: ReqEn-
LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance- SpeedDis-
Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
Compliance De-emphasis: -6dB
LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete- EqualizationPhase1-
EqualizationPhase2- EqualizationPhase3- LinkEqualizationRequest-
Retimer- 2Retimers- CrosslinkRes: unsupported
Capabilities: [100 v2] Advanced Error Reporting
UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr-
CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+
AERCap: First Error Pointer: 00, ECRCGenCap+ ECRCGenEn- ECRCChkCap+ ECRCChkEn-
MultHdrRecCap- MultHdrRecEn- TLPPfxPres- HdrLogCap-
HeaderLog: 00000000 00000000 00000000 00000000
Capabilities: [140 v1] Device Serial Number 00-00-00-01-00-4c-e0-00
Capabilities: [150 v1] Latency Tolerance Reporting
Max snoop latency: 0ns
Max no snoop latency: 0ns
Capabilities: [158 v1] L1 PM Substates
L1SubCap: PCI-PM_L1.2+ PCI-PM_L1.1+ ASPM_L1.2+ ASPM_L1.1+ L1_PM_Substates+
PortCommonModeRestoreTime=60us PortTPowerOnTime=60us
L1SubCtl1: PCI-PM_L1.2- PCI-PM_L1.1- ASPM_L1.2- ASPM_L1.1-
T_CommonMode=0us LTR1.2_Threshold=0ns
L1SubCtl2: T_PwrOn=10us
Kernel driver in use: rtsx_pci
Kernel modules: rtsx_pci
Please attach (not paste) also the lspci vv
output when running the vendor firmware.
Updated by Paul Menzel over 3 years ago
siro in #coreboot@irc.freenode.net made an important observation, that the Linux errors you pasted are for the WiFi device (00:1c.1).
It might also be a good idea to contact the maintainers of the Linux driver rtsx_pci (MULTIMEDIA CARD (MMC), SECURE DIGITAL (SD) AND SDIO SUBSYSTEM).
Updated by Jamal Wright over 3 years ago
- File x250pci.txt x250pci.txt added
Flashing back is a bit of a pain as I have to hardware flash coreboot; the vendor bios blocks flashing. I have the dump from the similar broadwell X250 with the same card reader and an even newer wifi card. I think I had mentioned that the card is what drops those errors, they weren't present on vendor fw. ASPM stuff seems similar on x250. Is there a way to compile coreboot without aspm support? Or make some deeper PCIE log. The rtsx driver's only debug output was registers, I did look there and it didn't seem there was much to it. Think it had to be recompiled to get that output too. (https://github.com/torvalds/linux/commit/e455b69ddf9b69326d0cab28d374faf3325489c9)
Was waiting on commits concerning lynxpoint and autoport to make it into coreboot before trying to flash back. Going to run autoport and then compare to what is currently in coreboot, especially the dsdt/acpi entries as they are written out in thinkpad.asl and appear to cover multiple thinkpads; missing some functions vs what I see in the x250. The hotkey driver bluescreens windows and I suspect it is from this.
Speaking of windows, when I booted it the first time, all the PCIE drivers got re-arrranged and re detected which is strange since it's the same devices and theoretically the same device IDs. Not noticeable on linux because it detects everything every boot.
I had tried the IRC before but it never let me send messages so assumed non official coreboot folks weren't welcome.
Updated by Jamal Wright over 3 years ago
Also, would like to add that I'm not the only one with the issue: https://github.com/archfan/coreboot/issues/13#issue-638222377
Same AER error: https://github.com/archfan/coreboot/issues/2
Updated by Jamal Wright over 3 years ago
- File dsdt.pre dsdt.pre added
- File pcidevs.txt pcidevs.txt added
- File pcitreeven.txt pcitreeven.txt added
- File T440P-vendor.txt T440P-vendor.txt added
I have bit the bullet even though they are expensive now. I have the vendor patched firmware 2.54 and can do an autoport. The LSPCI VV is different, especially memory regions, coreboot uses a completely different region.
Now how to fix it... I tested the reader and it works under the vendor firmware.
Updated by Nico Huber over 3 years ago
Please provide a more detailed description of the actual problem. It's "not working"/"broken" doesn't give any hint into what direction to look. Is there any error message? Is the reader detected but a card is not? How do you know that Windows crashes because of the reader? What exact action is causing the crash?
Please provide every log of the OS you can, especially a full dmesg. As the error happens in the OS, we need to know the state of the OS. It could be some odd side-effect (e.g. such as "Linux enables the IOMMU only with coreboot"), you never know.
The errors reported for 00:1c.1
seem to be no errors at all (it says they were corrected) and unrelated. They are only visible because coreboot enables more error reporting (AER) and the same probably happens with the vendor firmware.
There are a few odd things in lspci
with coreboot. But they don't seem fatal: LTR configured to 0s
(I guess that effectively disables it, but it's optional anyway). The PCIe slots are not configured as slots shrug. For 00:02.0
L1 is enabled but L0s isn't. I don't understand the latter, seems worth investigating.
Updated by Jamal Wright over 3 years ago
- File logs.7z logs.7z added
- File thinkpad_t440p.7z thinkpad_t440p.7z added
Ok, I'll try to be more detailed:
"Not working" -windows
Card reader device detects and driver installs. On cold boot the card reader shows in device manager. Drive letter never appears and can't be added.
Inserting a card does nothing and produces no logs/messages. Upon reboot, card inserted or not the computer bluscreens and dumps core with "bad_pool_caller".
"not working" -linux
Card reader shows in lspci. Inserting a card does nothing, there is no mention of it in dmesg. No crashes, no activity. The only PCI related message is as you say to the wireless card. On vendor firmware the only mention in dmesg is the card being detected when inserted so not much to go on there.
Results of the autoport:
The config0-3 registers are different. There are 2 gpios set low vs high. Trying this made no obvious difference.
Checking with LSPCI in the logs, the address of the reader goes from Address: 00000000fee002f8 to Address: 00000000fee002b8 and the hex dump from lspci is slightly different. Then as you said, vendor has L0/L1 ASPM on and coreboot has L1 aspm on. The wireless card address is moved too: Address: 00000000fee00378 to Address: 00000000fee00398.
I have the core dump from windows but it's 36mb compressed and to big to upload. Nothing really reported in linux to show. I can upload the entire dmesg but I've already scoured it and you'll just get a bunch of normal stuff but no clues.
Updated by Paul Menzel over 3 years ago
As uploading the Linux messages (dmesg
) is easy, please do so anyway. ;-)
Updated by Jamal Wright over 3 years ago
- File arch-dmesg.txt arch-dmesg.txt added
- File cinamon-dmesg.txt cinamon-dmesg.txt added
- File dmesg-buntu.txt dmesg-buntu.txt added
Ok, I tried 3 different distros.
Updated by Nico Huber over 3 years ago
I've written a patch[1] for the LTR configuration in coreboot. It should apply on current master, or earlier revisions together with the 2 parent commits. I have doubts that this fixes anything, but it should reduce the difference to the vendor configuration.
Updated by Nico Huber over 3 years ago
About further debugging this. You can check if the driver is receiving any interrupts: grep rtsx_pci /proc/interrupts
.
Disabling ASPM for newer platforms is a bit hack'ish, but as you suggested worth a try. If you remove select PCIEXP_ASPM
and select PCIEXP_COMMON_CLOCK
from src/southbridge/intel/lynxpoint/Kconfig
, the two options can be toggled off in menuconfig. I'm not sure if that is enough to turn it off, better check lspci
.
Updated by Jamal Wright over 3 years ago
I don't think that will fix it. Someone on another code review mentioned initialization in the bios likely being done by a module. I've checked vendor firmware and there is indeed a module for the card reader. I threw it into IDA but have no idea which PCI registers are written to.
They said it might look like ricoh/rce822 driver and it somewhat does. I could dump the decompile or module here but I don't know if that is allowed.
Updated by Iru Cai over 3 years ago
Jamal Wright wrote:
I don't think that will fix it. Someone on another code review mentioned initialization in the bios likely being done by a module. I've checked vendor firmware and there is indeed a module for the card reader. I threw it into IDA but have no idea which PCI registers are written to.
They said it might look like ricoh/rce822 driver and it somewhat does. I could dump the decompile or module here but I don't know if that is allowed.
Will the card reader stop to work on vendor firmware if you remove this module with UEFITool?
Updated by Iru Cai over 3 years ago
I don't have a T440p on my hand. Have you compared the gpio.c generated by autoport and the current coreboot code?
It looks like this Realtek card reader is also used on other laptops that supports coreboot, and it still works, so maybe it's not the driver problem.
Updated by Bob Dobbs over 3 years ago
I can confirm that disabling PCIEXP_ASPM
and PCIEXP_COMMON_CLOCK
does not fix the issue.
Updated by Martin Kepplinger almost 2 years ago
just for the record, watch -n 1 "cat /proc/interrupts | grep -i pci"
shows that rtsx_pci interrupts are being generated on card insert and removal. And this is them (debug output enabled using echo -n 'file drivers/mmc/* +p' > /sys/kernel/debug/dynamic_debug/control
)
Card inserted:
[31506.595029] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: sdmmc_get_cd: RTSX_BIPR = 0x00000000
Card removed:
[31652.179942] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: sdmmc_get_cd: RTSX_BIPR = 0x00010000
[31652.179945] mmc0: mmc_rescan_try_freq: trying to init card at 400000 Hz
[31652.179947] mmc0: clock 0Hz busmode 2 powermode 1 cs 0 Vdd 21 width 1 timing 0
[31652.317025] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: sdmmc_switch_voltage: signal_voltage = 0
[31652.317279] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: Initial signal voltage of 3.3v
[31652.323574] mmc0: clock 400000Hz busmode 2 powermode 2 cs 0 Vdd 21 width 1 timing 0
[31652.330058] mmc0: starting CMD52 arg 00000c00 flags 00000195
[31652.330130] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: sd_send_cmd_get_rsp: SD/MMC CMD 52, arg = 0x00000c00
[31652.431890] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: rtsx_pci_send_cmd error (err = -110)
[31652.431895] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: CMD 52 0x00000c00 error(-110)
[31652.431900] mmc0: req done (CMD52): -110: 00000000 00000000 00000000 00000000
[31652.431911] mmc0: starting CMD52 arg 80000c08 flags 00000195
[31652.431943] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: sd_send_cmd_get_rsp: SD/MMC CMD 52, arg = 0x80000c08
[31652.535914] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: rtsx_pci_send_cmd error (err = -110)
[31652.535917] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: CMD 52 0x80000c08 error(-110)
[31652.535920] mmc0: req done (CMD52): -110: 00000000 00000000 00000000 00000000
[31652.535925] mmc0: clock 400000Hz busmode 2 powermode 2 cs 1 Vdd 21 width 1 timing 0
[31652.537271] mmc0: starting CMD0 arg 00000000 flags 000000c0
[31652.537301] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: sd_send_cmd_get_rsp: SD/MMC CMD 0, arg = 0x00000000
[31652.537629] mmc0: req done (CMD0): 0: 00000000 00000000 00000000 00000000
[31652.538956] mmc0: clock 400000Hz busmode 2 powermode 2 cs 0 Vdd 21 width 1 timing 0
[31652.540314] mmc0: starting CMD8 arg 000001aa flags 000002f5
[31652.540343] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: sd_send_cmd_get_rsp: SD/MMC CMD 8, arg = 0x000001aa
[31652.643922] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: rtsx_pci_send_cmd error (err = -110)
[31652.643928] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: CMD 8 0x000001aa error(-110)
[31652.643934] mmc0: req done (CMD8): -110: 00000000 00000000 00000000 00000000
[31652.643949] mmc0: starting CMD5 arg 00000000 flags 000002e1
[31652.643987] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: sd_send_cmd_get_rsp: SD/MMC CMD 5, arg = 0x00000000
[31652.747912] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: rtsx_pci_send_cmd error (err = -110)
[31652.747916] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: CMD 5 0x00000000 error(-110)
[31652.747927] mmc0: req failed (CMD5): -110, retrying...
[31652.747960] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: sd_send_cmd_get_rsp: SD/MMC CMD 5, arg = 0x00000000
[31652.851913] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: rtsx_pci_send_cmd error (err = -110)
[31652.851917] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: CMD 5 0x00000000 error(-110)
[31652.851925] mmc0: req failed (CMD5): -110, retrying...
[31652.851958] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: sd_send_cmd_get_rsp: SD/MMC CMD 5, arg = 0x00000000
[31652.955952] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: rtsx_pci_send_cmd error (err = -110)
[31652.955960] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: CMD 5 0x00000000 error(-110)
[31652.955977] mmc0: req failed (CMD5): -110, retrying...
[31652.956047] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: sd_send_cmd_get_rsp: SD/MMC CMD 5, arg = 0x00000000
[31653.059989] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: rtsx_pci_send_cmd error (err = -110)
[31653.059996] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: CMD 5 0x00000000 error(-110)
[31653.060002] mmc0: req done (CMD5): -110: 00000000 00000000 00000000 00000000
[31653.060050] mmc0: starting CMD55 arg 00000000 flags 000000f5
[31653.060098] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: sd_send_cmd_get_rsp: SD/MMC CMD 55, arg = 0x00000000
[31653.163934] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: rtsx_pci_send_cmd error (err = -110)
[31653.163938] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: CMD 55 0x00000000 error(-110)
[31653.163940] mmc0: req done (CMD55): -110: 00000000 00000000 00000000 00000000
[31653.163948] mmc0: starting CMD55 arg 00000000 flags 000000f5
[31653.163980] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: sd_send_cmd_get_rsp: SD/MMC CMD 55, arg = 0x00000000
[31653.267888] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: rtsx_pci_send_cmd error (err = -110)
[31653.267893] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: CMD 55 0x00000000 error(-110)
[31653.267898] mmc0: req done (CMD55): -110: 00000000 00000000 00000000 00000000
[31653.267909] mmc0: starting CMD55 arg 00000000 flags 000000f5
[31653.267951] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: sd_send_cmd_get_rsp: SD/MMC CMD 55, arg = 0x00000000
[31653.371899] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: rtsx_pci_send_cmd error (err = -110)
[31653.371902] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: CMD 55 0x00000000 error(-110)
[31653.371905] mmc0: req done (CMD55): -110: 00000000 00000000 00000000 00000000
[31653.371932] mmc0: starting CMD55 arg 00000000 flags 000000f5
[31653.371991] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: sd_send_cmd_get_rsp: SD/MMC CMD 55, arg = 0x00000000
[31653.475940] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: rtsx_pci_send_cmd error (err = -110)
[31653.475944] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: CMD 55 0x00000000 error(-110)
[31653.475946] mmc0: req done (CMD55): -110: 00000000 00000000 00000000 00000000
[31653.475955] mmc0: clock 400000Hz busmode 1 powermode 2 cs 0 Vdd 21 width 1 timing 0
[31653.476044] mmc0: starting CMD1 arg 00000000 flags 000000e1
[31653.476070] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: sd_send_cmd_get_rsp: SD/MMC CMD 1, arg = 0x00000000
[31653.579880] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: rtsx_pci_send_cmd error (err = -110)
[31653.579884] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: CMD 1 0x00000000 error(-110)
[31653.579886] mmc0: req done (CMD1): -110: 00000000 00000000 00000000 00000000
[31653.579893] mmc0: clock 0Hz busmode 2 powermode 0 cs 0 Vdd 0 width 1 timing 0
[31653.581258] mmc0: mmc_rescan_try_freq: trying to init card at 300000 Hz
[31653.581260] mmc0: clock 0Hz busmode 2 powermode 1 cs 0 Vdd 21 width 1 timing 0
[31653.716976] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: sdmmc_switch_voltage: signal_voltage = 0
[31653.717214] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: Initial signal voltage of 3.3v
[31653.723505] mmc0: clock 300000Hz busmode 2 powermode 2 cs 0 Vdd 21 width 1 timing 0
[31653.729900] mmc0: starting CMD52 arg 00000c00 flags 00000195
[31653.729938] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: sd_send_cmd_get_rsp: SD/MMC CMD 52, arg = 0x00000c00
[31653.831906] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: rtsx_pci_send_cmd error (err = -110)
[31653.831913] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: CMD 52 0x00000c00 error(-110)
[31653.831919] mmc0: req done (CMD52): -110: 00000000 00000000 00000000 00000000
[31653.831933] mmc0: starting CMD52 arg 80000c08 flags 00000195
[31653.831989] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: sd_send_cmd_get_rsp: SD/MMC CMD 52, arg = 0x80000c08
[31653.935944] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: rtsx_pci_send_cmd error (err = -110)
[31653.935955] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: CMD 52 0x80000c08 error(-110)
[31653.935964] mmc0: req done (CMD52): -110: 00000000 00000000 00000000 00000000
[31653.935983] mmc0: clock 300000Hz busmode 2 powermode 2 cs 1 Vdd 21 width 1 timing 0
[31653.937344] mmc0: starting CMD0 arg 00000000 flags 000000c0
[31653.937429] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: sd_send_cmd_get_rsp: SD/MMC CMD 0, arg = 0x00000000
[31653.937750] mmc0: req done (CMD0): 0: 00000000 00000000 00000000 00000000
[31653.939044] mmc0: clock 300000Hz busmode 2 powermode 2 cs 0 Vdd 21 width 1 timing 0
[31653.940377] mmc0: starting CMD8 arg 000001aa flags 000002f5
[31653.940445] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: sd_send_cmd_get_rsp: SD/MMC CMD 8, arg = 0x000001aa
[31654.043966] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: rtsx_pci_send_cmd error (err = -110)
[31654.043972] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: CMD 8 0x000001aa error(-110)
[31654.043977] mmc0: req done (CMD8): -110: 00000000 00000000 00000000 00000000
[31654.043989] mmc0: starting CMD5 arg 00000000 flags 000002e1
[31654.044062] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: sd_send_cmd_get_rsp: SD/MMC CMD 5, arg = 0x00000000
[31654.147947] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: rtsx_pci_send_cmd error (err = -110)
[31654.147951] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: CMD 5 0x00000000 error(-110)
[31654.147959] mmc0: req failed (CMD5): -110, retrying...
[31654.147991] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: sd_send_cmd_get_rsp: SD/MMC CMD 5, arg = 0x00000000
[31654.251943] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: rtsx_pci_send_cmd error (err = -110)
[31654.251946] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: CMD 5 0x00000000 error(-110)
[31654.251953] mmc0: req failed (CMD5): -110, retrying...
[31654.251984] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: sd_send_cmd_get_rsp: SD/MMC CMD 5, arg = 0x00000000
[31654.355903] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: rtsx_pci_send_cmd error (err = -110)
[31654.355909] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: CMD 5 0x00000000 error(-110)
[31654.355920] mmc0: req failed (CMD5): -110, retrying...
[31654.355954] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: sd_send_cmd_get_rsp: SD/MMC CMD 5, arg = 0x00000000
[31654.459942] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: rtsx_pci_send_cmd error (err = -110)
[31654.459945] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: CMD 5 0x00000000 error(-110)
[31654.459948] mmc0: req done (CMD5): -110: 00000000 00000000 00000000 00000000
[31654.459957] mmc0: starting CMD55 arg 00000000 flags 000000f5
[31654.459988] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: sd_send_cmd_get_rsp: SD/MMC CMD 55, arg = 0x00000000
[31654.563904] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: rtsx_pci_send_cmd error (err = -110)
[31654.563911] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: CMD 55 0x00000000 error(-110)
[31654.563915] mmc0: req done (CMD55): -110: 00000000 00000000 00000000 00000000
[31654.563929] mmc0: starting CMD55 arg 00000000 flags 000000f5
[31654.563970] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: sd_send_cmd_get_rsp: SD/MMC CMD 55, arg = 0x00000000
[31654.667932] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: rtsx_pci_send_cmd error (err = -110)
[31654.667939] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: CMD 55 0x00000000 error(-110)
[31654.667946] mmc0: req done (CMD55): -110: 00000000 00000000 00000000 00000000
[31654.667961] mmc0: starting CMD55 arg 00000000 flags 000000f5
[31654.668048] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: sd_send_cmd_get_rsp: SD/MMC CMD 55, arg = 0x00000000
[31654.771948] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: rtsx_pci_send_cmd error (err = -110)
[31654.771951] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: CMD 55 0x00000000 error(-110)
[31654.771954] mmc0: req done (CMD55): -110: 00000000 00000000 00000000 00000000
[31654.771962] mmc0: starting CMD55 arg 00000000 flags 000000f5
[31654.771994] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: sd_send_cmd_get_rsp: SD/MMC CMD 55, arg = 0x00000000
[31654.875946] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: rtsx_pci_send_cmd error (err = -110)
[31654.875950] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: CMD 55 0x00000000 error(-110)
[31654.875952] mmc0: req done (CMD55): -110: 00000000 00000000 00000000 00000000
[31654.875962] mmc0: clock 300000Hz busmode 1 powermode 2 cs 0 Vdd 21 width 1 timing 0
[31654.876042] mmc0: starting CMD1 arg 00000000 flags 000000e1
[31654.876067] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: sd_send_cmd_get_rsp: SD/MMC CMD 1, arg = 0x00000000
[31654.979945] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: rtsx_pci_send_cmd error (err = -110)
[31654.979948] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: CMD 1 0x00000000 error(-110)
[31654.979951] mmc0: req done (CMD1): -110: 00000000 00000000 00000000 00000000
[31654.979958] mmc0: clock 0Hz busmode 2 powermode 0 cs 0 Vdd 0 width 1 timing 0
[31654.981407] mmc0: mmc_rescan_try_freq: trying to init card at 250000 Hz
[31654.981409] mmc0: clock 0Hz busmode 2 powermode 1 cs 0 Vdd 21 width 1 timing 0
[31655.117058] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: sdmmc_switch_voltage: signal_voltage = 0
[31655.117288] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: Initial signal voltage of 3.3v
[31655.123558] mmc0: clock 250000Hz busmode 2 powermode 2 cs 0 Vdd 21 width 1 timing 0
[31655.129933] mmc0: starting CMD52 arg 00000c00 flags 00000195
[31655.129972] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: sd_send_cmd_get_rsp: SD/MMC CMD 52, arg = 0x00000c00
[31655.231906] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: rtsx_pci_send_cmd error (err = -110)
[31655.231909] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: CMD 52 0x00000c00 error(-110)
[31655.231912] mmc0: req done (CMD52): -110: 00000000 00000000 00000000 00000000
[31655.231918] mmc0: starting CMD52 arg 80000c08 flags 00000195
[31655.231944] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: sd_send_cmd_get_rsp: SD/MMC CMD 52, arg = 0x80000c08
[31655.335931] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: rtsx_pci_send_cmd error (err = -110)
[31655.335943] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: CMD 52 0x80000c08 error(-110)
[31655.335953] mmc0: req done (CMD52): -110: 00000000 00000000 00000000 00000000
[31655.335980] mmc0: clock 250000Hz busmode 2 powermode 2 cs 1 Vdd 21 width 1 timing 0
[31655.337377] mmc0: starting CMD0 arg 00000000 flags 000000c0
[31655.337443] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: sd_send_cmd_get_rsp: SD/MMC CMD 0, arg = 0x00000000
[31655.337806] mmc0: req done (CMD0): 0: 00000000 00000000 00000000 00000000
[31655.339094] mmc0: clock 250000Hz busmode 2 powermode 2 cs 0 Vdd 21 width 1 timing 0
[31655.340432] mmc0: starting CMD8 arg 000001aa flags 000002f5
[31655.340492] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: sd_send_cmd_get_rsp: SD/MMC CMD 8, arg = 0x000001aa
[31655.443958] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: rtsx_pci_send_cmd error (err = -110)
[31655.443962] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: CMD 8 0x000001aa error(-110)
[31655.443965] mmc0: req done (CMD8): -110: 00000000 00000000 00000000 00000000
[31655.443974] mmc0: starting CMD5 arg 00000000 flags 000002e1
[31655.444028] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: sd_send_cmd_get_rsp: SD/MMC CMD 5, arg = 0x00000000
[31655.547917] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: rtsx_pci_send_cmd error (err = -110)
[31655.547920] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: CMD 5 0x00000000 error(-110)
[31655.547927] mmc0: req failed (CMD5): -110, retrying...
[31655.547958] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: sd_send_cmd_get_rsp: SD/MMC CMD 5, arg = 0x00000000
[31655.651956] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: rtsx_pci_send_cmd error (err = -110)
[31655.651962] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: CMD 5 0x00000000 error(-110)
[31655.651977] mmc0: req failed (CMD5): -110, retrying...
[31655.652034] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: sd_send_cmd_get_rsp: SD/MMC CMD 5, arg = 0x00000000
[31655.759929] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: rtsx_pci_send_cmd error (err = -110)
[31655.759933] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: CMD 5 0x00000000 error(-110)
[31655.759970] mmc0: req failed (CMD5): -110, retrying...
[31655.760003] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: sd_send_cmd_get_rsp: SD/MMC CMD 5, arg = 0x00000000
[31655.863967] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: rtsx_pci_send_cmd error (err = -110)
[31655.863973] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: CMD 5 0x00000000 error(-110)
[31655.863977] mmc0: req done (CMD5): -110: 00000000 00000000 00000000 00000000
[31655.863990] mmc0: starting CMD55 arg 00000000 flags 000000f5
[31655.864063] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: sd_send_cmd_get_rsp: SD/MMC CMD 55, arg = 0x00000000
[31655.967948] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: rtsx_pci_send_cmd error (err = -110)
[31655.967952] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: CMD 55 0x00000000 error(-110)
[31655.967954] mmc0: req done (CMD55): -110: 00000000 00000000 00000000 00000000
[31655.967962] mmc0: starting CMD55 arg 00000000 flags 000000f5
[31655.967992] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: sd_send_cmd_get_rsp: SD/MMC CMD 55, arg = 0x00000000
[31656.071960] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: rtsx_pci_send_cmd error (err = -110)
[31656.071965] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: CMD 55 0x00000000 error(-110)
[31656.071969] mmc0: req done (CMD55): -110: 00000000 00000000 00000000 00000000
[31656.071979] mmc0: starting CMD55 arg 00000000 flags 000000f5
[31656.072047] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: sd_send_cmd_get_rsp: SD/MMC CMD 55, arg = 0x00000000
[31656.175989] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: rtsx_pci_send_cmd error (err = -110)
[31656.175996] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: CMD 55 0x00000000 error(-110)
[31656.176003] mmc0: req done (CMD55): -110: 00000000 00000000 00000000 00000000
[31656.176049] mmc0: starting CMD55 arg 00000000 flags 000000f5
[31656.176108] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: sd_send_cmd_get_rsp: SD/MMC CMD 55, arg = 0x00000000
[31656.279934] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: rtsx_pci_send_cmd error (err = -110)
[31656.279941] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: CMD 55 0x00000000 error(-110)
[31656.279946] mmc0: req done (CMD55): -110: 00000000 00000000 00000000 00000000
[31656.279958] mmc0: clock 250000Hz busmode 1 powermode 2 cs 0 Vdd 21 width 1 timing 0
[31656.280034] mmc0: starting CMD1 arg 00000000 flags 000000e1
[31656.280072] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: sd_send_cmd_get_rsp: SD/MMC CMD 1, arg = 0x00000000
[31656.383957] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: rtsx_pci_send_cmd error (err = -110)
[31656.383960] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: CMD 1 0x00000000 error(-110)
[31656.383963] mmc0: req done (CMD1): -110: 00000000 00000000 00000000 00000000
[31656.383975] mmc0: clock 0Hz busmode 2 powermode 0 cs 0 Vdd 0 width 1 timing 0