drivers/mmc/host/sdhci-pci-core.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
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>
---
drivers/mmc/host/sdhci-pci-core.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/mmc/host/sdhci-pci-core.c b/drivers/mmc/host/sdhci-pci-core.c
index 13a84b9309e0..e3877a1c72a9 100644
--- a/drivers/mmc/host/sdhci-pci-core.c
+++ b/drivers/mmc/host/sdhci-pci-core.c
@@ -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)
--
2.39.5
On 26/06/2025 14:24, Edson Juliano Drosdeck wrote: > 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> Subject would normally begin "mmc: sdhci-pci:" instead of "mmc: sdhci:" Otherwise: Acked-by: Adrian Hunter <adrian.hunter@intel.com> Also I guess: Fixes: bedf9fc01ff1 ("mmc: sdhci: Workaround broken command queuing on Intel GLK") Cc: stable@vger.kernel.org > --- > drivers/mmc/host/sdhci-pci-core.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/drivers/mmc/host/sdhci-pci-core.c b/drivers/mmc/host/sdhci-pci-core.c > index 13a84b9309e0..e3877a1c72a9 100644 > --- a/drivers/mmc/host/sdhci-pci-core.c > +++ b/drivers/mmc/host/sdhci-pci-core.c > @@ -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)
Thanks for the feedback! Just to confirm: should I resend this as v2 with the corrected subject line? Best regards, Edson Juliano Drosdeck Em qui., 26 de jun. de 2025 às 11:05, Adrian Hunter <adrian.hunter@intel.com> escreveu: > > On 26/06/2025 14:24, Edson Juliano Drosdeck wrote: > > 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> > > Subject would normally begin "mmc: sdhci-pci:" instead of "mmc: sdhci:" > > Otherwise: > > Acked-by: Adrian Hunter <adrian.hunter@intel.com> > > Also I guess: > > Fixes: bedf9fc01ff1 ("mmc: sdhci: Workaround broken command queuing on Intel GLK") > Cc: stable@vger.kernel.org > > > --- > > drivers/mmc/host/sdhci-pci-core.c | 3 ++- > > 1 file changed, 2 insertions(+), 1 deletion(-) > > > > diff --git a/drivers/mmc/host/sdhci-pci-core.c b/drivers/mmc/host/sdhci-pci-core.c > > index 13a84b9309e0..e3877a1c72a9 100644 > > --- a/drivers/mmc/host/sdhci-pci-core.c > > +++ b/drivers/mmc/host/sdhci-pci-core.c > > @@ -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) >
On Wed, 2 Jul 2025 at 01:07, edson drosdeck <edson.drosdeck@gmail.com> wrote: > > Thanks for the feedback! > > Just to confirm: should I resend this as v2 with the corrected subject line? No need for that this time. I have applied it for fixes and amended the patch according to Adrian's suggestions, thanks! Kind regards Uffe > > Best regards, > Edson Juliano Drosdeck > > > Em qui., 26 de jun. de 2025 às 11:05, Adrian Hunter > <adrian.hunter@intel.com> escreveu: > > > > On 26/06/2025 14:24, Edson Juliano Drosdeck wrote: > > > 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> > > > > Subject would normally begin "mmc: sdhci-pci:" instead of "mmc: sdhci:" > > > > Otherwise: > > > > Acked-by: Adrian Hunter <adrian.hunter@intel.com> > > > > Also I guess: > > > > Fixes: bedf9fc01ff1 ("mmc: sdhci: Workaround broken command queuing on Intel GLK") > > Cc: stable@vger.kernel.org > > > > > --- > > > drivers/mmc/host/sdhci-pci-core.c | 3 ++- > > > 1 file changed, 2 insertions(+), 1 deletion(-) > > > > > > diff --git a/drivers/mmc/host/sdhci-pci-core.c b/drivers/mmc/host/sdhci-pci-core.c > > > index 13a84b9309e0..e3877a1c72a9 100644 > > > --- a/drivers/mmc/host/sdhci-pci-core.c > > > +++ b/drivers/mmc/host/sdhci-pci-core.c > > > @@ -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) > >
© 2016 - 2025 Red Hat, Inc.