* [PATCH 00/13] mmc: Assorted bug fixes across MMC host drivers
@ 2026-11-23 19:15 Lee Jones
2026-11-23 19:15 ` [PATCH 05/13] mmc: jz4740: Skip DMA cleanup in PIO mode during post_req Lee Jones
` (3 more replies)
0 siblings, 4 replies; 10+ messages in thread
From: Lee Jones @ 2026-11-23 19:15 UTC (permalink / raw)
To: lee
Cc: linux-kernel, Michał Mirosław, Niklas Söderlund,
Uwe Kleine-König (The Capable Hub), Aaro Koskinen,
Adrian Hunter, Aidan MacDonald, Al Cooper, Alex Dubov, Allen Pais,
Apelete Seketeli, Aubin Constans, Binbin Zhou,
Broadcom internal kernel review list, Cavium Inc,
Christian Loehle, Florian Fainelli, Geert Uytterhoeven,
Georgi Djakov, Guangshuo Li, Heiner Kallweit, Hiroshi DOYU,
Huacai Chen, Jaehoon Chung, Jan Glauber, Jarkko Lavinen,
Jerome Brunet, Josua Mayer, Juha Yrjola, Kamal Dasu, Kevin Hilman,
Krzysztof Kozlowski, Lad Prabhakar, Lars-Peter Clausen,
linux-amlogic, linux-arm-kernel, linux-arm-msm, linux-mips,
linux-mmc, linux-omap, linux-renesas-soc, Martin Blumenstingl,
Neil Armstrong, Paul Cercueil, Phil Blundell, Pierre Ossman,
Pramod Gurav, Ritesh Harjani, Robert Richter, Samuel Ortiz,
Shawn Lin, Tony Lindgren, Ulf Hansson, Wolfram Sang,
Yoshihiro Shimoda
These issues were reported by Sashiko.
None of these changes have been tested on physical hardware.
Cc: "Michał Mirosław" <mirq-linux@rere.qmqm.pl>
Cc: "Niklas Söderlund" <niklas.soderlund+renesas@ragnatech.se>
Cc: "Uwe Kleine-König (The Capable Hub)" <u.kleine-koenig@baylibre.com>
Cc: Aaro Koskinen <aaro.koskinen@iki.fi>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Aidan MacDonald <aidanmacdonald.0x0@gmail.com>
Cc: Al Cooper <alcooperx@gmail.com>
Cc: Alex Dubov <oakad@yahoo.com>
Cc: Allen Pais <allen.lkml@gmail.com>
Cc: Apelete Seketeli <apelete@seketeli.net>
Cc: Aubin Constans <aubin.constans@microchip.com>
Cc: Binbin Zhou <zhoubinbin@loongson.cn>
Cc: Broadcom internal kernel review list <bcm-kernel-feedback-list@broadcom.com>
Cc: Cavium Inc <support@cavium.com>
Cc: Christian Loehle <christian.loehle@arm.com>
Cc: Florian Fainelli <florian.fainelli@broadcom.com>
Cc: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Georgi Djakov <djakov@kernel.org>
Cc: Guangshuo Li <lgs201920130244@gmail.com>
Cc: Heiner Kallweit <hkallweit1@gmail.com>
Cc: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
Cc: Huacai Chen <chenhuacai@kernel.org>
Cc: Jaehoon Chung <jh80.chung@samsung.com>
Cc: Jan Glauber <jan.glauber@gmail.com>
Cc: Jarkko Lavinen <jarkko.lavinen@nokia.com>
Cc: Jerome Brunet <jbrunet@baylibre.com>
Cc: Josua Mayer <josua@solid-run.com>
Cc: Juha Yrjola <juha.yrjola@nokia.com>
Cc: Kamal Dasu <kamal.dasu@broadcom.com>
Cc: Kevin Hilman <khilman@baylibre.com>
Cc: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Cc: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Cc: Lars-Peter Clausen <lars@metafoo.de>
Cc: linux-amlogic@lists.infradead.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-arm-msm@vger.kernel.org
Cc: linux-mips@vger.kernel.org
Cc: linux-mmc@vger.kernel.org
Cc: linux-omap@vger.kernel.org
Cc: linux-renesas-soc@vger.kernel.org
Cc: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Cc: Neil Armstrong <neil.armstrong@linaro.org>
Cc: Paul Cercueil <paul@crapouillou.net>
Cc: Phil Blundell <pb@handhelds.org>
Cc: Pierre Ossman <drzeus@drzeus.cx>
Cc: Pramod Gurav <pramod.gurav@linaro.org>
Cc: Ritesh Harjani <riteshh@codeaurora.org>
Cc: Robert Richter <rric@kernel.org>
Cc: Samuel Ortiz <sameo@openedhand.com>
Cc: Shawn Lin <shawn.lin@rock-chips.com>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Ulf Hansson <ulfh@kernel.org>
Cc: Wolfram Sang <wsa+renesas@sang-engineering.com>
Cc: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
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
^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH 05/13] mmc: jz4740: Skip DMA cleanup in PIO mode during post_req
2026-11-23 19:15 [PATCH 00/13] mmc: Assorted bug fixes across MMC host drivers Lee Jones
@ 2026-11-23 19:15 ` Lee Jones
2026-11-23 19:15 ` [PATCH 10/13] mmc: jz4740: Apply DMA max_seg_size limit to unified tx-rx channel Lee Jones
` (2 subsequent siblings)
3 siblings, 0 replies; 10+ messages in thread
From: Lee Jones @ 2026-11-23 19:15 UTC (permalink / raw)
To: lee, Paul Cercueil, Ulf Hansson, Krzysztof Kozlowski,
Lars-Peter Clausen, Apelete Seketeli, linux-mips, linux-mmc,
linux-kernel
Cc: stable
When DMA channel acquisition fails during probe, the JZ4740 MMC driver
falls back to PIO mode with host->use_dma set to false and host->dma_tx
or host->dma_rx left holding an ERR_PTR() or released channel pointer.
Unlike jz4740_mmc_pre_request(), jz4740_mmc_post_request() does not
check host->use_dma before calling dmaengine_terminate_all() on error,
resulting in an invalid or dangling DMA channel pointer dereference
whenever a PIO data transfer encounters an error.
Return early from jz4740_mmc_post_request() when host->use_dma is false,
matching jz4740_mmc_pre_request().
Fixes: bb2f45927f8e ("mmc: jz4740: prepare next dma transfer in parallel with current transfer")
Closes: https://sashiko.dev/#/bug/linux-735efbcb-99f8-4d4a-8814-aa31e3634f29
Cc: stable@vger.kernel.org
Signed-off-by: Lee Jones <lee@kernel.org>
---
drivers/mmc/host/jz4740_mmc.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/mmc/host/jz4740_mmc.c b/drivers/mmc/host/jz4740_mmc.c
index 923cf1450de5..e398a575f2dc 100644
--- a/drivers/mmc/host/jz4740_mmc.c
+++ b/drivers/mmc/host/jz4740_mmc.c
@@ -392,6 +392,9 @@ static void jz4740_mmc_post_request(struct mmc_host *mmc,
struct jz4740_mmc_host *host = mmc_priv(mmc);
struct mmc_data *data = mrq->data;
+ if (!host->use_dma)
+ return;
+
if (data && data->host_cookie != COOKIE_UNMAPPED)
jz4740_mmc_dma_unmap(host, data);
--
2.56.1.750.gf70dc682cf-goog
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH 10/13] mmc: jz4740: Apply DMA max_seg_size limit to unified tx-rx channel
2026-11-23 19:15 [PATCH 00/13] mmc: Assorted bug fixes across MMC host drivers Lee Jones
2026-11-23 19:15 ` [PATCH 05/13] mmc: jz4740: Skip DMA cleanup in PIO mode during post_req Lee Jones
@ 2026-11-23 19:15 ` Lee Jones
2026-11-25 13:37 ` [PATCH 00/13] mmc: Assorted bug fixes across MMC host drivers Biju Das
2026-11-25 17:50 ` Markus Elfring
3 siblings, 0 replies; 10+ messages in thread
From: Lee Jones @ 2026-11-23 19:15 UTC (permalink / raw)
To: lee, Paul Cercueil, Ulf Hansson, Krzysztof Kozlowski,
Lars-Peter Clausen, Aidan MacDonald, linux-mips, linux-mmc,
linux-kernel
Cc: stable
Commit afadb04f1d6e ("mmc: jz4740: Apply DMA engine limits to maximum
segment size") added max_seg_size clamping at the end of
jz4740_mmc_acquire_dma_channels(), below the early return for the
unified "tx-rx" DMA channel added earlier by commit a474e52c3109 ("mmc:
jz4740: Support using a bi-directional DMA channel"). When "tx-rx" is
used, host->mmc->max_seg_size is never clamped to dma_get_max_seg_size()
and the MMC core can submit scatterlist segments exceeding the DMA
controller hardware limit.
Jump to the max_seg_size clamping block when acquiring the "tx-rx"
channel instead of returning early.
Fixes: afadb04f1d6e ("mmc: jz4740: Apply DMA engine limits to maximum segment size")
Closes: https://sashiko.dev/#/bug/linux-1f76aaa3-099b-4ac6-b793-e11a71bb003a
Cc: stable@vger.kernel.org
Signed-off-by: Lee Jones <lee@kernel.org>
---
drivers/mmc/host/jz4740_mmc.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/mmc/host/jz4740_mmc.c b/drivers/mmc/host/jz4740_mmc.c
index e398a575f2dc..71aa7930a030 100644
--- a/drivers/mmc/host/jz4740_mmc.c
+++ b/drivers/mmc/host/jz4740_mmc.c
@@ -231,7 +231,7 @@ static int jz4740_mmc_acquire_dma_channels(struct jz4740_mmc_host *host)
host->dma_tx = dma_request_chan(dev, "tx-rx");
if (!IS_ERR(host->dma_tx))
- return 0;
+ goto out;
if (PTR_ERR(host->dma_tx) != -ENODEV) {
dev_err(dev, "Failed to get dma tx-rx channel\n");
@@ -251,6 +251,7 @@ static int jz4740_mmc_acquire_dma_channels(struct jz4740_mmc_host *host)
return PTR_ERR(host->dma_rx);
}
+out:
/*
* Limit the maximum segment size in any SG entry according to
* the parameters of the DMA engine device.
--
2.56.1.750.gf70dc682cf-goog
^ permalink raw reply related [flat|nested] 10+ messages in thread
* RE: [PATCH 00/13] mmc: Assorted bug fixes across MMC host drivers
2026-11-23 19:15 [PATCH 00/13] mmc: Assorted bug fixes across MMC host drivers Lee Jones
2026-11-23 19:15 ` [PATCH 05/13] mmc: jz4740: Skip DMA cleanup in PIO mode during post_req Lee Jones
2026-11-23 19:15 ` [PATCH 10/13] mmc: jz4740: Apply DMA max_seg_size limit to unified tx-rx channel Lee Jones
@ 2026-11-25 13:37 ` Biju Das
2026-11-25 15:08 ` wsa+renesas
2026-11-25 17:50 ` Markus Elfring
3 siblings, 1 reply; 10+ messages in thread
From: Biju Das @ 2026-11-25 13:37 UTC (permalink / raw)
To: Lee Jones
Cc: linux-kernel@vger.kernel.org, Michał Mirosław,
Niklas Söderlund, Uwe Kleine-König (The Capable Hub),
Aaro Koskinen, Adrian Hunter, Aidan MacDonald, Al Cooper,
Alex Dubov, Allen Pais, Apelete Seketeli, Aubin Constans,
Binbin Zhou, Broadcom internal kernel review list, Cavium Inc,
Christian Loehle, Florian Fainelli, Geert Uytterhoeven,
Georgi Djakov, Guangshuo Li, Heiner Kallweit, Hiroshi DOYU,
Huacai Chen, Jaehoon Chung, Jan Glauber, Jarkko Lavinen,
Jerome Brunet, Josua Mayer, Juha Yrjola, Kamal Dasu, Kevin Hilman,
Krzysztof Kozlowski, Prabhakar Mahadev Lad, Lars-Peter Clausen,
linux-amlogic@lists.infradead.org,
linux-arm-kernel@lists.infradead.org,
linux-arm-msm@vger.kernel.org, linux-mips@vger.kernel.org,
linux-mmc@vger.kernel.org, linux-omap@vger.kernel.org,
linux-renesas-soc@vger.kernel.org, Martin Blumenstingl,
Neil Armstrong, Paul Cercueil, Phil Blundell, Pierre Ossman,
Pramod Gurav, Ritesh Harjani, Robert Richter, Samuel Ortiz,
Shawn Lin, Tony Lindgren, Ulf Hansson, wsa+renesas,
Yoshihiro Shimoda
Hi Lee,
> -----Original Message-----
> From: Lee Jones <lee@kernel.org>
> Sent: 23 November 2026 19:16
> Subject: [PATCH 00/13] mmc: Assorted bug fixes across MMC host drivers
>
> These issues were reported by Sashiko.
>
> None of these changes have been tested on physical hardware.
>
> Cc: "Michał Mirosław" <mirq-linux@rere.qmqm.pl>
> Cc: "Niklas Söderlund" <niklas.soderlund+renesas@ragnatech.se>
> Cc: "Uwe Kleine-König (The Capable Hub)" <u.kleine-koenig@baylibre.com>
> Cc: Aaro Koskinen <aaro.koskinen@iki.fi>
> Cc: Adrian Hunter <adrian.hunter@intel.com>
> Cc: Aidan MacDonald <aidanmacdonald.0x0@gmail.com>
> Cc: Al Cooper <alcooperx@gmail.com>
> Cc: Alex Dubov <oakad@yahoo.com>
> Cc: Allen Pais <allen.lkml@gmail.com>
> Cc: Apelete Seketeli <apelete@seketeli.net>
> Cc: Aubin Constans <aubin.constans@microchip.com>
> Cc: Binbin Zhou <zhoubinbin@loongson.cn>
> Cc: Broadcom internal kernel review list <bcm-kernel-feedback-list@broadcom.com>
> Cc: Cavium Inc <support@cavium.com>
> Cc: Christian Loehle <christian.loehle@arm.com>
> Cc: Florian Fainelli <florian.fainelli@broadcom.com>
> Cc: Geert Uytterhoeven <geert+renesas@glider.be>
> Cc: Georgi Djakov <djakov@kernel.org>
> Cc: Guangshuo Li <lgs201920130244@gmail.com>
> Cc: Heiner Kallweit <hkallweit1@gmail.com>
> Cc: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
> Cc: Huacai Chen <chenhuacai@kernel.org>
> Cc: Jaehoon Chung <jh80.chung@samsung.com>
> Cc: Jan Glauber <jan.glauber@gmail.com>
> Cc: Jarkko Lavinen <jarkko.lavinen@nokia.com>
> Cc: Jerome Brunet <jbrunet@baylibre.com>
> Cc: Josua Mayer <josua@solid-run.com>
> Cc: Juha Yrjola <juha.yrjola@nokia.com>
> Cc: Kamal Dasu <kamal.dasu@broadcom.com>
> Cc: Kevin Hilman <khilman@baylibre.com>
> Cc: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
> Cc: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> Cc: Lars-Peter Clausen <lars@metafoo.de>
> Cc: linux-amlogic@lists.infradead.org
> Cc: linux-arm-kernel@lists.infradead.org
> Cc: linux-arm-msm@vger.kernel.org
> Cc: linux-mips@vger.kernel.org
> Cc: linux-mmc@vger.kernel.org
> Cc: linux-omap@vger.kernel.org
> Cc: linux-renesas-soc@vger.kernel.org
> Cc: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
> Cc: Neil Armstrong <neil.armstrong@linaro.org>
> Cc: Paul Cercueil <paul@crapouillou.net>
> Cc: Phil Blundell <pb@handhelds.org>
> Cc: Pierre Ossman <drzeus@drzeus.cx>
> Cc: Pramod Gurav <pramod.gurav@linaro.org>
> Cc: Ritesh Harjani <riteshh@codeaurora.org>
> Cc: Robert Richter <rric@kernel.org>
> Cc: Samuel Ortiz <sameo@openedhand.com>
> Cc: Shawn Lin <shawn.lin@rock-chips.com>
> Cc: Tony Lindgren <tony@atomide.com>
> Cc: Ulf Hansson <ulfh@kernel.org>
> Cc: Wolfram Sang <wsa+renesas@sang-engineering.com>
> Cc: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
>
> 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
>
This series tested on the following Renesas boards and
there is no regression.
Tested-by: Biju Das <biju.das.jz@bp.renesas.com>
smarc-rzv2l,
smarc-rzg3s,
smarc-rzg3e,
smarc-rzg2ul,
smarc-rzg2lc,
smarc-rzg2l,
rzv2h-evk,
rzt2h-evk,
hihope-rzg2n-ex,
hihope-rzg2m-ex-v1_3,
hihope-rzg2h-ex
Cheers,
Biju
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH 00/13] mmc: Assorted bug fixes across MMC host drivers
2026-11-25 13:37 ` [PATCH 00/13] mmc: Assorted bug fixes across MMC host drivers Biju Das
@ 2026-11-25 15:08 ` wsa+renesas
2026-11-25 18:02 ` Biju Das
0 siblings, 1 reply; 10+ messages in thread
From: wsa+renesas @ 2026-11-25 15:08 UTC (permalink / raw)
To: Biju Das
Cc: Lee Jones, linux-kernel@vger.kernel.org,
Michał Mirosław, Niklas Söderlund,
Uwe Kleine-König (The Capable Hub), Aaro Koskinen,
Adrian Hunter, Aidan MacDonald, Al Cooper, Alex Dubov, Allen Pais,
Apelete Seketeli, Aubin Constans, Binbin Zhou,
Broadcom internal kernel review list, Cavium Inc,
Christian Loehle, Florian Fainelli, Geert Uytterhoeven,
Georgi Djakov, Guangshuo Li, Heiner Kallweit, Hiroshi DOYU,
Huacai Chen, Jaehoon Chung, Jan Glauber, Jarkko Lavinen,
Jerome Brunet, Josua Mayer, Juha Yrjola, Kamal Dasu, Kevin Hilman,
Krzysztof Kozlowski, Prabhakar Mahadev Lad, Lars-Peter Clausen,
linux-amlogic@lists.infradead.org,
linux-arm-kernel@lists.infradead.org,
linux-arm-msm@vger.kernel.org, linux-mips@vger.kernel.org,
linux-mmc@vger.kernel.org, linux-omap@vger.kernel.org,
linux-renesas-soc@vger.kernel.org, Martin Blumenstingl,
Neil Armstrong, Paul Cercueil, Phil Blundell, Pierre Ossman,
Pramod Gurav, Ritesh Harjani, Robert Richter, Samuel Ortiz,
Shawn Lin, Tony Lindgren, Ulf Hansson, Yoshihiro Shimoda
> > Cc: Wolfram Sang <wsa+renesas@sang-engineering.com>
I plan to review the Renesas related changes early next week.
Thanks!
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH 00/13] mmc: Assorted bug fixes across MMC host drivers
2026-11-23 19:15 [PATCH 00/13] mmc: Assorted bug fixes across MMC host drivers Lee Jones
` (2 preceding siblings ...)
2026-11-25 13:37 ` [PATCH 00/13] mmc: Assorted bug fixes across MMC host drivers Biju Das
@ 2026-11-25 17:50 ` Markus Elfring
2026-11-26 8:53 ` Lee Jones
3 siblings, 1 reply; 10+ messages in thread
From: Markus Elfring @ 2026-11-25 17:50 UTC (permalink / raw)
To: Lee Jones, linux-mmc
Cc: Hiroshi.DOYU, aaro.koskinen, adrian.hunter, aidanmacdonald.0x0,
alcooperx, allen.lkml, apelete, aubin.constans,
bcm-kernel-feedback-list, chenhuacai, christian.loehle, djakov,
drzeus, florian.fainelli, geert+renesas, hkallweit1, jan.glauber,
jarkko.lavinen, jbrunet, jh80.chung, josua, juha.yrjola,
kamal.dasu, khilman, krzysztof.kozlowski, lars, lgs201920130244,
linux-amlogic, linux-arm-kernel, linux-arm-msm, linux-kernel,
linux-mips, linux-omap, linux-renesas-soc, martin.blumenstingl,
mirq-linux, neil.armstrong, niklas.soderlund+renesas, oakad, paul,
pb, prabhakar.mahadev-lad.rj, pramod.gurav, riteshh, rric, sameo,
shawn.lin, support, tony, u.kleine-koenig, ulfh, wsa+renesas,
yoshihiro.shimoda.uh, zhoubinbin
…
> 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
…
How do you think about to sort (and group) desired adjustments
by affected software components?
Regards,
Markus
^ permalink raw reply [flat|nested] 10+ messages in thread
* RE: [PATCH 00/13] mmc: Assorted bug fixes across MMC host drivers
2026-11-25 15:08 ` wsa+renesas
@ 2026-11-25 18:02 ` Biju Das
0 siblings, 0 replies; 10+ messages in thread
From: Biju Das @ 2026-11-25 18:02 UTC (permalink / raw)
To: wsa+renesas
Cc: Lee Jones, linux-kernel@vger.kernel.org,
Michał Mirosław, Niklas Söderlund,
Uwe Kleine-König (The Capable Hub), Aaro Koskinen,
Adrian Hunter, Aidan MacDonald, Al Cooper, Alex Dubov, Allen Pais,
Apelete Seketeli, Aubin Constans, Binbin Zhou,
Broadcom internal kernel review list, Cavium Inc,
Christian Loehle, Florian Fainelli, Geert Uytterhoeven,
Georgi Djakov, Guangshuo Li, Heiner Kallweit, Hiroshi DOYU,
Huacai Chen, Jaehoon Chung, Jan Glauber, Jarkko Lavinen,
Jerome Brunet, Josua Mayer, Juha Yrjola, Kamal Dasu, Kevin Hilman,
Krzysztof Kozlowski, Prabhakar Mahadev Lad, Lars-Peter Clausen,
linux-amlogic@lists.infradead.org,
linux-arm-kernel@lists.infradead.org,
linux-arm-msm@vger.kernel.org, linux-mips@vger.kernel.org,
linux-mmc@vger.kernel.org, linux-omap@vger.kernel.org,
linux-renesas-soc@vger.kernel.org, Martin Blumenstingl,
Neil Armstrong, Paul Cercueil, Phil Blundell, Pierre Ossman,
Pramod Gurav, Ritesh Harjani, Robert Richter, Samuel Ortiz,
Shawn Lin, Tony Lindgren, Ulf Hansson, Yoshihiro Shimoda
Hi Wolfram,
> -----Original Message-----
> From: wsa+renesas <wsa+renesas@sang-engineering.com>
> Sent: 25 November 2026 15:09
> Subject: Re: [PATCH 00/13] mmc: Assorted bug fixes across MMC host drivers
>
>
> > > Cc: Wolfram Sang <wsa+renesas@sang-engineering.com>
>
> I plan to review the Renesas related changes early next week.
Thanks.
FYI, I just done mmc_test read/write performance on both SD/eMMC
interfaces RZ boards.
I have n't tested SDIO
Cheers,
Biju
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH 00/13] mmc: Assorted bug fixes across MMC host drivers
2026-11-25 17:50 ` Markus Elfring
@ 2026-11-26 8:53 ` Lee Jones
2026-11-26 9:23 ` [00/13] " Markus Elfring
0 siblings, 1 reply; 10+ messages in thread
From: Lee Jones @ 2026-11-26 8:53 UTC (permalink / raw)
To: Markus Elfring
Cc: linux-mmc, Hiroshi.DOYU, aaro.koskinen, adrian.hunter,
aidanmacdonald.0x0, alcooperx, allen.lkml, apelete,
aubin.constans, bcm-kernel-feedback-list, chenhuacai,
christian.loehle, djakov, drzeus, florian.fainelli, geert+renesas,
hkallweit1, jan.glauber, jarkko.lavinen, jbrunet, jh80.chung,
josua, juha.yrjola, kamal.dasu, khilman, krzysztof.kozlowski,
lars, lgs201920130244, linux-amlogic, linux-arm-kernel,
linux-arm-msm, linux-kernel, linux-mips, linux-omap,
linux-renesas-soc, martin.blumenstingl, mirq-linux,
neil.armstrong, niklas.soderlund+renesas, oakad, paul, pb,
prabhakar.mahadev-lad.rj, pramod.gurav, riteshh, rric, sameo,
shawn.lin, support, tony, u.kleine-koenig, ulfh, wsa+renesas,
yoshihiro.shimoda.uh, zhoubinbin
On Wed, 25 Nov 2026, Markus Elfring wrote:
> ...
> > 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
> ...
>
> How do you think about to sort (and group) desired adjustments
> by affected software components?
This is new to me. What guidance says to do that?
Making your own rules up and spraying them at contributors wastes people's time.
--
Lee Jones
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [00/13] mmc: Assorted bug fixes across MMC host drivers
2026-11-26 8:53 ` Lee Jones
@ 2026-11-26 9:23 ` Markus Elfring
2026-11-26 11:29 ` Lee Jones
0 siblings, 1 reply; 10+ messages in thread
From: Markus Elfring @ 2026-11-26 9:23 UTC (permalink / raw)
To: Lee Jones, linux-mmc
Cc: aaro.koskinen, adrian.hunter, aidanmacdonald.0x0, alcooperx,
allen.lkml, apelete, aubin.constans, bcm-kernel-feedback-list,
chenhuacai, christian.loehle, djakov, florian.fainelli,
geert+renesas, hkallweit1, jan.glauber, jbrunet, jh80.chung,
josua, kamal.dasu, khilman, krzysztof.kozlowski, lars,
lgs201920130244, linux-amlogic, linux-arm-kernel, linux-arm-msm,
linux-kernel, linux-mips, linux-omap, linux-renesas-soc,
martin.blumenstingl, mirq-linux, neil.armstrong,
niklas.soderlund+renesas, oakad, paul, pb,
prabhakar.mahadev-lad.rj, pramod.gurav, rric, sameo, shawn.lin,
support, tony, u.kleine-koenig, ulfh, wsa+renesas,
yoshihiro.shimoda.uh, zhoubinbin
>> How do you think about to sort (and group) desired adjustments
>> by affected software components?
>
> This is new to me. What guidance says to do that?
>
> Making your own rules up and spraying them at contributors wastes people's time.
Can the following list variant be more helpful eventually?
mmc: cavium: Prevent slot_pdev[] out-of-bounds write during probe
mmc: cavium: Remove MMC slots before destroying slot platform devices
mmc: dw_mmc: Disarm central watchdog when ending a request
mmc: jz4740: Apply DMA max_seg_size limit to unified tx-rx channel
mmc: jz4740: Skip DMA cleanup in PIO mode during post_req
mmc: meson-gx: Fail request when descriptor chain DMA mapping fails
mmc: omap: Shut down cover timer before disabling cover BH work
mmc: renesas_sdhi: Disable internal DMAC BH work items on release
mmc: renesas_sdhi: Fix SDIO manual tap correction in SDR104 mode
mmc: renesas_sdhi: Guard host->cmd access in internal DMAC issue work
mmc: sdhci-brcmstb: Handle absent optional sdio_freq clock in probe
mmc: sdhci-msm: Resume runtime PM before accessing registers on remove
mmc: tifm_sd: Synchronise timeout handler with request completion
Regards,
Markus
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [00/13] mmc: Assorted bug fixes across MMC host drivers
2026-11-26 9:23 ` [00/13] " Markus Elfring
@ 2026-11-26 11:29 ` Lee Jones
0 siblings, 0 replies; 10+ messages in thread
From: Lee Jones @ 2026-11-26 11:29 UTC (permalink / raw)
To: Markus Elfring
Cc: linux-mmc, aaro.koskinen, adrian.hunter, aidanmacdonald.0x0,
alcooperx, allen.lkml, apelete, aubin.constans,
bcm-kernel-feedback-list, chenhuacai, christian.loehle, djakov,
florian.fainelli, geert+renesas, hkallweit1, jan.glauber, jbrunet,
jh80.chung, josua, kamal.dasu, khilman, krzysztof.kozlowski, lars,
lgs201920130244, linux-amlogic, linux-arm-kernel, linux-arm-msm,
linux-kernel, linux-mips, linux-omap, linux-renesas-soc,
martin.blumenstingl, mirq-linux, neil.armstrong,
niklas.soderlund+renesas, oakad, paul, pb,
prabhakar.mahadev-lad.rj, pramod.gurav, rric, sameo, shawn.lin,
support, tony, u.kleine-koenig, ulfh, wsa+renesas,
yoshihiro.shimoda.uh, zhoubinbin
On Thu, 26 Nov 2026, Markus Elfring wrote:
> >> How do you think about to sort (and group) desired adjustments
> >> by affected software components?
> >
> > This is new to me. What guidance says to do that?
> >
> > Making your own rules up and spraying them at contributors wastes people's time.
> Can the following list variant be more helpful eventually?
>
> mmc: cavium: Prevent slot_pdev[] out-of-bounds write during probe
> mmc: cavium: Remove MMC slots before destroying slot platform devices
> mmc: dw_mmc: Disarm central watchdog when ending a request
> mmc: jz4740: Apply DMA max_seg_size limit to unified tx-rx channel
> mmc: jz4740: Skip DMA cleanup in PIO mode during post_req
> mmc: meson-gx: Fail request when descriptor chain DMA mapping fails
> mmc: omap: Shut down cover timer before disabling cover BH work
> mmc: renesas_sdhi: Disable internal DMAC BH work items on release
> mmc: renesas_sdhi: Fix SDIO manual tap correction in SDR104 mode
> mmc: renesas_sdhi: Guard host->cmd access in internal DMAC issue work
> mmc: sdhci-brcmstb: Handle absent optional sdio_freq clock in probe
> mmc: sdhci-msm: Resume runtime PM before accessing registers on remove
> mmc: tifm_sd: Synchronise timeout handler with request completion
No. Stop making up rules!
--
Lee Jones
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2026-11-26 11:29 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-23 19:15 [PATCH 00/13] mmc: Assorted bug fixes across MMC host drivers Lee Jones
2026-11-23 19:15 ` [PATCH 05/13] mmc: jz4740: Skip DMA cleanup in PIO mode during post_req Lee Jones
2026-11-23 19:15 ` [PATCH 10/13] mmc: jz4740: Apply DMA max_seg_size limit to unified tx-rx channel Lee Jones
2026-11-25 13:37 ` [PATCH 00/13] mmc: Assorted bug fixes across MMC host drivers Biju Das
2026-11-25 15:08 ` wsa+renesas
2026-11-25 18:02 ` Biju Das
2026-11-25 17:50 ` Markus Elfring
2026-11-26 8:53 ` Lee Jones
2026-11-26 9:23 ` [00/13] " Markus Elfring
2026-11-26 11:29 ` Lee Jones
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox