mmc: sdhci-pci-core: Disable ES for ASUS BIOS on Jasper Lake
Subsystems (2)
Hello.
I am not subscribed to the list so please CC to my address.
I recently bought a new ASUS Laptop E210KA-GJ059WS with
00:1a.0 SD Host controller: Intel Corporation Device 4dc4 (rev 01) (prog-if 01)
Subsystem: ASUSTeK Computer Inc. Device 1842
Flags: bus master, fast devsel, latency 0, IRQ 16, IOMMU group 7 Memory at 6001129000 (64-bit, non-prefetchable) [size=4K]
Capabilities: [80] Power Management version 3
Capabilities: [90] Vendor Specific Information: Len=14 <?> Kernel driver in use: sdhci-pci
I tried to install Linux (vanilla kernel 5.19.4) and found that the internal 128GB eMMC SSD was unuseable, unable to make a filesystem on it, dmesg shown
mmc0: running CQE recovery
and
mmc0: cqhci: timeout for tag 0
followed by register dump
(unfortunately I don't have the exact log now).
I found the patch to drivers/mmc/host/sdhci-pci-core.c posted by Patrick Thompson date Thu, 13 Oct 2022 17:00:17 -0400, and applied it, but the only way to make the eMMC work was to disable
CQE in its entirety by commenting
slot->host->mmc->caps2 |= MMC_CAP2_CQE;
andslot->host->mmc->caps2 |= MMC_CAP2_CQE_DCMD;
If someone would like me to do any targeted test to be able to solve the issue better, I will be happy to do it.
At the moment I am also searching how to get the touchpad to work, I would appreciate any hint and/or a contact with someone who has experience on this.
I think the relevant device should be this one, but it doesn't show in /proc/bus/input/devices.
P: /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:6c/ASUE1409:00
E: DEVPATH=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:6c/ASUE1409:00
E: ID_VENDOR_FROM_DATABASE=Asuscom Network Inc
E: MODALIAS=acpi:ASUE1409:PNP0C50:
E: SUBSYSTEM=acpi
E: USEC_INITIALIZED=10378637
Thank you.
Best regards,
Andrea Baldoni
Quoted 22 lines · Andrea Baldoni
Hello.
I am not subscribed to the list so please CC to my address.I recently bought a new ASUS Laptop E210KA-GJ059WS with
00:1a.0 SD Host controller: Intel Corporation Device 4dc4 (rev 01) (prog-if 01)
Subsystem: ASUSTeK Computer Inc. Device 1842
Flags: bus master, fast devsel, latency 0, IRQ 16, IOMMU group 7 Memory at 6001129000 (64-bit, non-prefetchable) [size=4K]
Capabilities: [80] Power Management version 3
Capabilities: [90] Vendor Specific Information: Len=14 <?> Kernel driver in use: sdhci-pciI tried to install Linux (vanilla kernel 5.19.4) and found that the internal 128GB eMMC SSD was unuseable, unable to make a filesystem on it, dmesg shown
mmc0: running CQE recovery
and
mmc0: cqhci: timeout for tag 0
followed by register dump
Quoted 6 lines
(unfortunately I don't have the exact log now).
I found the patch to
drivers/mmc/host/sdhci-pci-core.cposted by Patrick Thompson date Thu, 13 Oct 2022 17:00:17 -0400, and applied it, but the only way to make the eMMC work was to disable
CQE in its entirety by commenting
This one I assume?[1]
Quoted 22 lines
slot->host->mmc->caps2|=MMC_CAP2_CQE;
andslot->host->mmc->caps2|=MMC_CAP2_CQE_DCMD;If someone would like me to do any targeted test to be able to solve the issue better, I will be happy to do it.
At the moment I am also searching how to get the touchpad to work, I would appreciate any hint and/or a contact with someone who has experience on this.
I think the relevant device should be this one, but it doesn't show in
/proc/bus/input/devices.P: /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:6c/ASUE1409:00
E: DEVPATH=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:6c/ASUE1409:00
E: ID_VENDOR_FROM_DATABASE=Asuscom Network Inc
E: MODALIAS=acpi:ASUE1409:PNP0C50:
E: SUBSYSTEM=acpi
E: USEC_INITIALIZED=10378637
Quoted 4 lines
Thank you.
Best regards,
Andrea Baldoni
Also looping in +acpi and mmc lists, +Patrick Thompson here.
[1] https://lore.kernel.org/linux-mmc/[email protected]/
Best,
-srw
Hello,
Thank you Slade for sharing the v3 link with Andrea. The v1 patch had a mistake in it, hopefully the v3 works for you, let me know if you run into any issues.
Best,
Patrick
Quoted 66 lines · Slade Watkins
Quoted 22 lines · Andrea Baldoni
Hello.
I am not subscribed to the list so please CC to my address.I recently bought a new ASUS Laptop E210KA-GJ059WS with
00:1a.0 SD Host controller: Intel Corporation Device 4dc4 (rev 01) (prog-if 01)
Subsystem: ASUSTeK Computer Inc. Device 1842
Flags: bus master, fast devsel, latency 0, IRQ 16, IOMMU group 7 Memory at 6001129000 (64-bit, non-prefetchable) [size=4K]
Capabilities: [80] Power Management version 3
Capabilities: [90] Vendor Specific Information: Len=14 <?> Kernel driver in use: sdhci-pciI tried to install Linux (vanilla kernel 5.19.4) and found that the internal 128GB eMMC SSD was unuseable, unable to make a filesystem on it, dmesg shown
mmc0: running CQE recovery
and
mmc0: cqhci: timeout for tag 0
followed by register dumpQuoted 6 lines
(unfortunately I don't have the exact log now).
I found the patch to
drivers/mmc/host/sdhci-pci-core.cposted by Patrick Thompson date Thu, 13 Oct 2022 17:00:17 -0400, and applied it, but the only way to make the eMMC work was to disable
CQE in its entirety by commentingThis one I assume?[1]
Quoted 22 lines
slot->host->mmc->caps2|=MMC_CAP2_CQE;
andslot->host->mmc->caps2|=MMC_CAP2_CQE_DCMD;If someone would like me to do any targeted test to be able to solve the issue better, I will be happy to do it.
At the moment I am also searching how to get the touchpad to work, I would appreciate any hint and/or a contact with someone who has experience on this.
I think the relevant device should be this one, but it doesn't show in
/proc/bus/input/devices.P: /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:6c/ASUE1409:00
E: DEVPATH=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:6c/ASUE1409:00
E: ID_VENDOR_FROM_DATABASE=Asuscom Network Inc
E: MODALIAS=acpi:ASUE1409:PNP0C50:
E: SUBSYSTEM=acpi
E: USEC_INITIALIZED=10378637Quoted 4 lines
Thank you.
Best regards,
Andrea BaldoniAlso looping in +acpi and mmc lists, +Patrick Thompson here.
[1] https://lore.kernel.org/linux-mmc/[email protected]/
Best,
-srw