Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

mmc: core: Prevent HSQ from enabling for SDUC

hsq allows to get more in-flight requests from mmc core, which can be
prepared in advance and be issued asynchronously to the completion of
the preceding request (in atomic context). This is presumably broken
though by the mandatory CMD22 for SDUC.

We plan to make it work, but only as an improvement on top of the
initial support for SDUC.

Signed-off-by: Avri Altman <avri.altman@wdc.com>
Link: https://lore.kernel.org/r/20241006051148.160278-10-avri.altman@wdc.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>

authored by

Avri Altman and committed by
Ulf Hansson
a7861651 96f5e902

+1 -1
+1 -1
drivers/mmc/core/sd.c
··· 1558 1558 goto free_card; 1559 1559 } 1560 1560 1561 - if (host->cqe_ops && !host->cqe_enabled) { 1561 + if (!mmc_card_ult_capacity(card) && host->cqe_ops && !host->cqe_enabled) { 1562 1562 err = host->cqe_ops->cqe_enable(host, card); 1563 1563 if (!err) { 1564 1564 host->cqe_enabled = true;