]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
mmc: sdhci-pci: Quirk for broken command queuing on Intel GLK-based Positivo models
authorEdson Juliano Drosdeck <edson.drosdeck@gmail.com>
Thu, 26 Jun 2025 11:24:42 +0000 (08:24 -0300)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 3 Jul 2025 11:01:50 +0000 (13:01 +0200)
Disable command queuing on Intel GLK-based Positivo models.

Without this quirk, CQE (Command Queuing Engine) causes instability
or I/O errors during operation. Disabling it ensures stable
operation on affected devices.

Signed-off-by: Edson Juliano Drosdeck <edson.drosdeck@gmail.com>
Fixes: bedf9fc01ff1 ("mmc: sdhci: Workaround broken command queuing on Intel GLK")
Cc: stable@vger.kernel.org
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Link: https://lore.kernel.org/r/20250626112442.9791-1-edson.drosdeck@gmail.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-pci-core.c

index 13a84b9309e064100caa7f1ec258907ef1de50e3..e3877a1c72a90f59c361b4a277f83654fa0c797d 100644 (file)
@@ -913,7 +913,8 @@ static bool glk_broken_cqhci(struct sdhci_pci_slot *slot)
 {
        return slot->chip->pdev->device == PCI_DEVICE_ID_INTEL_GLK_EMMC &&
               (dmi_match(DMI_BIOS_VENDOR, "LENOVO") ||
-               dmi_match(DMI_SYS_VENDOR, "IRBIS"));
+               dmi_match(DMI_SYS_VENDOR, "IRBIS") ||
+               dmi_match(DMI_SYS_VENDOR, "Positivo Tecnologia SA"));
 }
 
 static bool jsl_broken_hs400es(struct sdhci_pci_slot *slot)