Issue #297 has been updated by Martin Kepplinger.
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`
---------------------------------------- Bug #297: T440P card reader is broken. https://ticket.coreboot.org/issues/297#change-1332
* Author: Jamal Wright * Status: New * Priority: Normal * Start date: 2021-03-03 ---------------------------------------- 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-------------------------------- onbtpci.txt (26.2 KB) pcidevs.txt (26.2 KB) x250pci.txt (21.9 KB) pcidevs.txt (26.2 KB) dsdt.pre (568 KB) pcitreeven.txt (1.09 KB) T440P-vendor.txt (22.9 KB) thinkpad_t440p.7z (4.72 KB) logs.7z (118 KB) arch-dmesg.txt (66.1 KB) cinamon-dmesg.txt (57.2 KB) dmesg-buntu.txt (62.2 KB)