Skip to content

Commit afd7f30

Browse files
jwrdegoedeUlf Hansson
authored andcommitted
mmc: sdhci: Workaround broken command queuing on Intel GLK based IRBIS models
Commit bedf9fc ("mmc: sdhci: Workaround broken command queuing on Intel GLK"), disabled command-queuing on Intel GLK based LENOVO models because of it being broken due to what is believed to be a bug in the BIOS. It seems that the BIOS of some IRBIS models, including the IRBIS NB111 model has the same issue, so disable command queuing there too. Fixes: bedf9fc ("mmc: sdhci: Workaround broken command queuing on Intel GLK") BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=209397 Reported-and-tested-by: RussianNeuroMancer <russianneuromancer@ya.ru> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Adrian Hunter <adrian.hunter@intel.com> Link: https://lore.kernel.org/r/20200927104821.5676-1-hdegoede@redhat.com Cc: stable@vger.kernel.org Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
1 parent 62c59a8 commit afd7f30

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

drivers/mmc/host/sdhci-pci-core.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -794,7 +794,8 @@ static int byt_emmc_probe_slot(struct sdhci_pci_slot *slot)
794794
static bool glk_broken_cqhci(struct sdhci_pci_slot *slot)
795795
{
796796
return slot->chip->pdev->device == PCI_DEVICE_ID_INTEL_GLK_EMMC &&
797-
dmi_match(DMI_BIOS_VENDOR, "LENOVO");
797+
(dmi_match(DMI_BIOS_VENDOR, "LENOVO") ||
798+
dmi_match(DMI_SYS_VENDOR, "IRBIS"));
798799
}
799800

800801
static int glk_emmc_probe_slot(struct sdhci_pci_slot *slot)

0 commit comments

Comments
 (0)