mmc: sdhci: Workaround broken command queuing on Intel GLK based IRBIS models
PATCH 1/1 mmc: sdhci: Workaround broken command queuing on Intel GLK based IRBIS models
Commit bedf9fc01ff1 ("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.
--- drivers/mmc/host/sdhci-pci-core.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/mmc/host/sdhci-pci-core.c +2 -1
@@ -794,7 +794,8 @@ static int byt_emmc_probe_slot(struct sdhci_pci_slot *slot)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_BIOS_VENDOR ,"LENOVO" ) || +dmi_match (DMI_SYS_VENDOR ,"IRBIS" )); }static int glk_emmc_probe_slot (struct sdhci_pci_slot *slot)
Signature · 1 line
2.28.0
Quoted 5 lines · Hans de Goede
Commit
bedf9fc01ff1("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.
Quoted 7 lines
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 bedf9fc01ff1 ("mmc: sdhci: Workaround broken command queuing on Intel GLK")Reported-and-tested-by RussianNeuroMancer <[email protected]>Signed-off-by Hans de Goede <[email protected]>
Thanks Hans!
Quoted 19 lines
--- drivers/mmc/host/sdhci-pci-core.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)drivers/mmc/host/sdhci-pci-core.c +2
-1@@ -794,7 +794,8 @@ static int byt_emmc_probe_slot(struct sdhci_pci_slot *slot)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_BIOS_VENDOR ,"LENOVO" ) || +dmi_match (DMI_SYS_VENDOR ,"IRBIS" )); }static int glk_emmc_probe_slot (struct sdhci_pci_slot *slot)
Quoted 6 lines · Hans de Goede
Commit
bedf9fc01ff1("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.
Quoted 7 lines
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 bedf9fc01ff1 ("mmc: sdhci: Workaround broken command queuing on Intel GLK")Reported-and-tested-by RussianNeuroMancer <[email protected]>Signed-off-by Hans de Goede <[email protected]>
Applied for fixes and by adding a stable tag, thanks!
Kind regards
Uffe
Quoted 21 lines
--- drivers/mmc/host/sdhci-pci-core.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)drivers/mmc/host/sdhci-pci-core.c +2
-2@@ -794,7 +794,8 @@ static int byt_emmc_probe_slot(struct sdhci_pci_slot *slot)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_BIOS_VENDOR ,"LENOVO" ) || +dmi_match (DMI_SYS_VENDOR ,"IRBIS" )); }static int glk_emmc_probe_slot (struct sdhci_pci_slot *slot) --2.28.0