[PATCH 00/13] mmc: Assorted bug fixes across MMC host drivers

From: Lee Jones

Date: Mon Nov 23 2026 - 14:17:23 EST


These issues were reported by Sashiko.

None of these changes have been tested on physical hardware.

Cc: "Michał Mirosław" <mirq-linux@xxxxxxxxxxxx>
Cc: "Niklas Söderlund" <niklas.soderlund+renesas@xxxxxxxxxxxx>
Cc: "Uwe Kleine-König (The Capable Hub)" <u.kleine-koenig@xxxxxxxxxxxx>
Cc: Aaro Koskinen <aaro.koskinen@xxxxxx>
Cc: Adrian Hunter <adrian.hunter@xxxxxxxxx>
Cc: Aidan MacDonald <aidanmacdonald.0x0@xxxxxxxxx>
Cc: Al Cooper <alcooperx@xxxxxxxxx>
Cc: Alex Dubov <oakad@xxxxxxxxx>
Cc: Allen Pais <allen.lkml@xxxxxxxxx>
Cc: Apelete Seketeli <apelete@xxxxxxxxxxxx>
Cc: Aubin Constans <aubin.constans@xxxxxxxxxxxxx>
Cc: Binbin Zhou <zhoubinbin@xxxxxxxxxxx>
Cc: Broadcom internal kernel review list <bcm-kernel-feedback-list@xxxxxxxxxxxx>
Cc: Cavium Inc <support@xxxxxxxxxx>
Cc: Christian Loehle <christian.loehle@xxxxxxx>
Cc: Florian Fainelli <florian.fainelli@xxxxxxxxxxxx>
Cc: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
Cc: Georgi Djakov <djakov@xxxxxxxxxx>
Cc: Guangshuo Li <lgs201920130244@xxxxxxxxx>
Cc: Heiner Kallweit <hkallweit1@xxxxxxxxx>
Cc: Hiroshi DOYU <Hiroshi.DOYU@xxxxxxxxx>
Cc: Huacai Chen <chenhuacai@xxxxxxxxxx>
Cc: Jaehoon Chung <jh80.chung@xxxxxxxxxxx>
Cc: Jan Glauber <jan.glauber@xxxxxxxxx>
Cc: Jarkko Lavinen <jarkko.lavinen@xxxxxxxxx>
Cc: Jerome Brunet <jbrunet@xxxxxxxxxxxx>
Cc: Josua Mayer <josua@xxxxxxxxxxxxx>
Cc: Juha Yrjola <juha.yrjola@xxxxxxxxx>
Cc: Kamal Dasu <kamal.dasu@xxxxxxxxxxxx>
Cc: Kevin Hilman <khilman@xxxxxxxxxxxx>
Cc: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxxxxx>
Cc: Lad Prabhakar <prabhakar.mahadev-lad.rj@xxxxxxxxxxxxxx>
Cc: Lars-Peter Clausen <lars@xxxxxxxxxx>
Cc: linux-amlogic@xxxxxxxxxxxxxxxxxxx
Cc: linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
Cc: linux-arm-msm@xxxxxxxxxxxxxxx
Cc: linux-mips@xxxxxxxxxxxxxxx
Cc: linux-mmc@xxxxxxxxxxxxxxx
Cc: linux-omap@xxxxxxxxxxxxxxx
Cc: linux-renesas-soc@xxxxxxxxxxxxxxx
Cc: Martin Blumenstingl <martin.blumenstingl@xxxxxxxxxxxxxx>
Cc: Neil Armstrong <neil.armstrong@xxxxxxxxxx>
Cc: Paul Cercueil <paul@xxxxxxxxxxxxxxx>
Cc: Phil Blundell <pb@xxxxxxxxxxxxx>
Cc: Pierre Ossman <drzeus@xxxxxxxxx>
Cc: Pramod Gurav <pramod.gurav@xxxxxxxxxx>
Cc: Ritesh Harjani <riteshh@xxxxxxxxxxxxxx>
Cc: Robert Richter <rric@xxxxxxxxxx>
Cc: Samuel Ortiz <sameo@xxxxxxxxxxxxxx>
Cc: Shawn Lin <shawn.lin@xxxxxxxxxxxxxx>
Cc: Tony Lindgren <tony@xxxxxxxxxxx>
Cc: Ulf Hansson <ulfh@xxxxxxxxxx>
Cc: Wolfram Sang <wsa+renesas@xxxxxxxxxxxxxxxxxxxx>
Cc: Yoshihiro Shimoda <yoshihiro.shimoda.uh@xxxxxxxxxxx>

Lee Jones (13):
mmc: cavium: Remove MMC slots before destroying slot platform devices
mmc: cavium: Prevent slot_pdev[] out-of-bounds write during probe
mmc: sdhci-msm: Resume runtime PM before accessing registers on remove
mmc: meson-gx: Fail request when descriptor chain DMA mapping fails
mmc: jz4740: Skip DMA cleanup in PIO mode during post_req
mmc: renesas_sdhi: Guard host->cmd access in internal DMAC issue work
mmc: tifm_sd: Synchronise timeout handler with request completion
mmc: omap: Shut down cover timer before disabling cover BH work
mmc: renesas_sdhi: Disable internal DMAC BH work items on release
mmc: jz4740: Apply DMA max_seg_size limit to unified tx-rx channel
mmc: dw_mmc: Disarm central watchdog when ending a request
mmc: renesas_sdhi: Fix SDIO manual tap correction in SDR104 mode
mmc: sdhci-brcmstb: Handle absent optional sdio_freq clock in probe

drivers/mmc/host/cavium-octeon.c | 17 +++++++++++++----
drivers/mmc/host/cavium-thunderx.c | 15 +++++++++++++--
drivers/mmc/host/dw_mmc.c | 14 +++++++++++---
drivers/mmc/host/jz4740_mmc.c | 6 +++++-
drivers/mmc/host/meson-gx-mmc.c | 7 +++++++
drivers/mmc/host/omap.c | 8 ++++----
drivers/mmc/host/renesas_sdhi_core.c | 9 ++++-----
drivers/mmc/host/renesas_sdhi_internal_dmac.c | 13 +++++++++++++
drivers/mmc/host/sdhci-brcmstb.c | 6 ++++--
drivers/mmc/host/sdhci-msm.c | 8 ++++----
drivers/mmc/host/tifm_sd.c | 16 ++++++++++++++--
11 files changed, 92 insertions(+), 27 deletions(-)

--
2.56.1.750.gf70dc682cf-goog