linux/drivers/mmc/host
Jisheng Zhang 747528729c mmc: sdhci-of-dwcmshc: Promote the th1520 reset handling to ip level
Commit 27e8fe0da3 ("mmc: sdhci-of-dwcmshc: Prevent stale command
interrupt handling") clears pending interrupts when resetting
host->pending_reset to ensure no pending stale interrupts after
sdhci_threaded_irq restores interrupts. But this fix is only added for
th1520 platforms, in fact per my test, this issue exists on all
dwcmshc users, such as cv1800b, sg2002, and synaptics platforms.

So promote the above reset handling from th1520 to ip level. And keep
reset handling on rk, sg2042 and bf3 as is, until it's confirmed that
the same issue exists on these platforms too.

Fixes: 017199c284 ("mmc: sdhci-of-dwcmshc: Add support for Sophgo CV1800B and SG2002")
Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
Cc: stable@vger.kernel.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
2025-11-25 13:44:51 +01:00
..
Kconfig mmc: wmt-sdmmc: fix compile test default 2025-10-21 13:37:18 +02:00
Makefile
alcor.c mmc: alcor: use modern PM macros 2025-08-22 12:14:03 +02:00
atmel-mci.c mmc: atmel: use modern PM macros 2025-08-22 12:14:03 +02:00
au1xmmc.c mmc: au1xmmc: use modern PM macros 2025-08-22 12:14:03 +02:00
bcm2835.c
cavium-octeon.c
cavium-thunderx.c
cavium.c
cavium.h
cb710-mmc.c mmc: cb710-mmc: use modern PM macros 2025-08-22 12:14:03 +02:00
cb710-mmc.h
cqhci-core.c
cqhci-crypto.c
cqhci-crypto.h
cqhci.h
davinci_mmc.c mmc: davinci_mmc: use modern PM macros 2025-08-22 12:14:03 +02:00
dw_mmc-bluefield.c
dw_mmc-exynos.c mmc: dw_mmc: exynos: use modern PM macros 2025-08-22 12:14:05 +02:00
dw_mmc-exynos.h
dw_mmc-hi3798cv200.c
dw_mmc-hi3798mv200.c
dw_mmc-k3.c mmc: dw_mmc-k3: use modern PM macros 2025-08-22 12:14:05 +02:00
dw_mmc-pci.c mmc: dw_mmc-pci: use modern PM macros 2025-08-22 12:14:05 +02:00
dw_mmc-pltfm.c
dw_mmc-pltfm.h
dw_mmc-rockchip.c mmc: dw_mmc-rockchip: Fix wrong internal phase calculate 2025-11-11 17:47:47 +01:00
dw_mmc-starfive.c
dw_mmc.c
dw_mmc.h mmc: dw_mmc: exynos: use modern PM macros 2025-08-22 12:14:05 +02:00
jz4740_mmc.c
litex_mmc.c
loongson2-mmc.c mmc: loongson2: Unify the function prefixes for loongson2_mmc_pdata 2025-07-16 12:04:40 +02:00
meson-gx-mmc.c
meson-mx-sdhc-clkc.c mmc: meson-mx-sdhc: use PTR_ERR_OR_ZERO() to simplify code 2025-08-19 14:34:15 +02:00
meson-mx-sdhc-mmc.c
meson-mx-sdhc.h
meson-mx-sdio.c
mmc_hsq.c
mmc_hsq.h
mmc_spi.c mmc: mmc_spi: remove unnecessary check in mmc_spi_setup_data_message() 2025-08-22 12:06:20 +02:00
mmci.c mmc: mmci: use modern PM macros 2025-08-22 12:14:03 +02:00
mmci.h
mmci_qcom_dml.c
mmci_stm32_sdmmc.c
moxart-mmc.c
mtk-sd.c mmc: mtk-sd: use modern PM macros 2025-08-22 12:14:05 +02:00
mvsdio.c mmc: mvsdio: Fix dma_unmap_sg() nents value 2025-09-12 14:04:22 +02:00
mvsdio.h
mxcmmc.c
mxs-mmc.c mmc: mxs-mmc: use modern PM macros 2025-08-22 12:14:03 +02:00
of_mmc_spi.c
omap.c
omap_hsmmc.c mmc: omap_hsmmc: use modern PM macros 2025-08-22 12:14:03 +02:00
owl-mmc.c
pxamci.c mmc: pxamci: Simplify pxamci_probe() error handling using devm APIs 2025-11-11 17:34:28 +01:00
pxamci.h
renesas_sdhi.h
renesas_sdhi_core.c mmc: renesas_sdhi: Replace magic number '0xff' in renesas_sdhi_set_clock() 2025-08-20 18:41:31 +02:00
renesas_sdhi_internal_dmac.c mmc: renesas_sdhi: Enable 64-bit polling mode 2025-08-19 14:34:14 +02:00
renesas_sdhi_sys_dmac.c
rtsx_pci_sdmmc.c
rtsx_usb_sdmmc.c mmc: rtsx_usb_sdmmc: use modern PM macros 2025-08-22 12:14:04 +02:00
sdhci-acpi.c mmc: sdhci-acpi: use modern PM macros 2025-08-22 12:14:04 +02:00
sdhci-bcm-kona.c
sdhci-brcmstb.c mmc: sdhci-brcmstb: use modern PM macros 2025-08-22 12:14:04 +02:00
sdhci-cadence.c mmc: sdhci-cadence: use modern PM macros 2025-08-22 12:14:04 +02:00
sdhci-cqhci.h
sdhci-dove.c
sdhci-esdhc-imx.c mmc: sdhci-esdhc-imx: use modern PM macros 2025-08-22 12:14:04 +02:00
sdhci-esdhc-mcf.c
sdhci-esdhc.h
sdhci-iproc.c
sdhci-milbeaut.c
sdhci-msm.c mmc: sdhci-msm: Enable tuning for SDR50 mode for SD card 2025-09-12 14:42:37 +02:00
sdhci-npcm.c
sdhci-of-arasan.c mmc: sdhci-of-arasan: use modern PM macros 2025-08-22 12:14:04 +02:00
sdhci-of-aspeed-test.c
sdhci-of-aspeed.c
sdhci-of-at91.c mmc: sdhci-of-at91: use modern PM macros 2025-08-22 12:14:04 +02:00
sdhci-of-dwcmshc.c mmc: sdhci-of-dwcmshc: Promote the th1520 reset handling to ip level 2025-11-25 13:44:51 +01:00
sdhci-of-esdhc.c mmc: sdhci-of-esdhc: use modern PM macros 2025-08-22 12:14:04 +02:00
sdhci-of-hlwd.c
sdhci-of-k1.c
sdhci-of-ma35d1.c
sdhci-of-sparx5.c
sdhci-omap.c mmc: sdhci-omap: use modern PM macros 2025-08-22 12:14:04 +02:00
sdhci-pci-arasan.c
sdhci-pci-core.c mmc: sdhci: Disable SD card clock before changing parameters 2025-08-18 11:19:45 +02:00
sdhci-pci-dwc-mshc.c
sdhci-pci-gli.c mmc: sdhci-pci-gli: GL9767: Fix initializing the UHS-II interface during a power-on 2025-09-12 15:00:52 +02:00
sdhci-pci-o2micro.c
sdhci-pci.h
sdhci-pic32.c
sdhci-pltfm.c
sdhci-pltfm.h
sdhci-pxav2.c
sdhci-pxav3.c mmc: sdhci-pxav3: use modern PM macros 2025-08-22 12:14:03 +02:00
sdhci-s3c.c mmc: sdhci-s3c: use modern PM macros 2025-08-22 12:14:04 +02:00
sdhci-spear.c mmc: sdhci-spear: use modern PM macros 2025-08-22 12:14:04 +02:00
sdhci-sprd.c mmc: sdhci-sprd: use modern PM macros 2025-08-22 12:14:04 +02:00
sdhci-st.c mmc: sdhci-st: use modern PM macros 2025-08-22 12:14:04 +02:00
sdhci-tegra.c mmc: sdhci-tegra: use modern PM macros 2025-08-22 12:14:04 +02:00
sdhci-uhs2.c mmc: sdhci-uhs2: Fix calling incorrect sdhci_set_clock() function 2025-09-12 15:00:52 +02:00
sdhci-uhs2.h
sdhci-xenon-phy.c
sdhci-xenon.c mmc: sdhci-xenon: use modern PM macros 2025-08-22 12:14:03 +02:00
sdhci-xenon.h
sdhci.c mmc: sdhci: Move the code related to setting the clock from sdhci_set_ios_common() into sdhci_set_ios() 2025-09-12 15:00:52 +02:00
sdhci.h mmc: sdhci: add some simple inline functions for !CONFIG_PM 2025-08-22 12:13:52 +02:00
sdhci_am654.c mmc: sdhci_am654: use modern PM macros 2025-08-22 12:14:04 +02:00
sdhci_f_sdh30.c
sdhci_f_sdh30.h
sdricoh_cs.c
sh_mmcif.c mmc: sh_mmcif: Remove dummy PM resume callback 2025-09-12 14:11:33 +02:00
sunplus-mmc.c
sunxi-mmc.c mmc: sunxi: use modern PM macros 2025-08-22 12:14:03 +02:00
tifm_sd.c mmc: drop nth_page() usage within SG entry 2025-09-21 14:22:08 -07:00
tmio_mmc.h mmc: tmio: Add 64-bit read/write support for SD_BUF0 in polling mode 2025-08-19 14:34:14 +02:00
tmio_mmc_core.c mmc: tmio: Add 64-bit read/write support for SD_BUF0 in polling mode 2025-08-19 14:34:14 +02:00
toshsd.c mmc: toshsd: use modern PM macros 2025-08-22 12:14:04 +02:00
toshsd.h
uniphier-sd.c
usdhi6rol0.c mmc: drop nth_page() usage within SG entry 2025-09-21 14:22:08 -07:00
ushc.c
via-sdmmc.c mmc: via-sdmmc: use modern PM macros 2025-08-22 12:14:05 +02:00
vub300.c
wbsd.c
wbsd.h
wmt-sdmmc.c mmc: wmt-sdmmc: use modern PM macros 2025-08-22 12:14:04 +02:00