| From 50c78f398e92fafa1cbba3469c95fe04b2e4206d Mon Sep 17 00:00:00 2001 |
| From: Edson Juliano Drosdeck <edson.drosdeck@gmail.com> |
| Date: Thu, 26 Jun 2025 08:24:42 -0300 |
| Subject: mmc: sdhci-pci: Quirk for broken command queuing on Intel GLK-based Positivo models |
| |
| From: Edson Juliano Drosdeck <edson.drosdeck@gmail.com> |
| |
| commit 50c78f398e92fafa1cbba3469c95fe04b2e4206d upstream. |
| |
| 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> |
| Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
| --- |
| drivers/mmc/host/sdhci-pci-core.c | 3 ++- |
| 1 file changed, 2 insertions(+), 1 deletion(-) |
| |
| --- a/drivers/mmc/host/sdhci-pci-core.c |
| +++ b/drivers/mmc/host/sdhci-pci-core.c |
| @@ -980,7 +980,8 @@ static bool glk_broken_cqhci(struct sdhc |
| { |
| 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) |