mmc: sdhci-of-dwcmshc: fix DMA 128MB boundary
PATCH 1/1 mmc: sdhci-of-dwcmshc: fix DMA 128MB boundary
From: Huan He <[email protected]>
This DWC MSHC has a 128MB limitation where the data buffer size and start address must not exceed the 128MB boundary. Registering the missing 'adma_write_desc' callback function.
--- drivers/mmc/host/sdhci-of-dwcmshc.c | 1 + 1 file changed, 1 insertion(+)
drivers/mmc/host/sdhci-of-dwcmshc.c +1 -0
@@ -1726,6 +1726,7 @@ static const struct sdhci_ops sdhci_dwcmshc_eic7700_ops = { .set_uhs_signaling = sdhci_eic7700_set_uhs_wrapper, .set_power = sdhci_set_power_and_bus_voltage, .irq = dwcmshc_cqe_irq_handler, + .adma_write_desc = dwcmshc_adma_write_desc, .platform_execute_tuning = sdhci_eic7700_executing_tuning, };
Signature · 1 line
2.25.1
Quoted 7 lines · On 14/01/2026 14:22, [email protected] wrote:
From: Huan He <[email protected]>
This DWC MSHC has a 128MB limitation where the data buffer size and start address must not exceed the 128MB boundary. Registering the missing '
adma_write_desc' callback function.Signed-off-by Huan He <[email protected]>
Fixes tag?
Nevertheless:
Quoted 16 lines
--- drivers/mmc/host/sdhci-of-dwcmshc.c | 1 + 1 file changed, 1 insertion(+)drivers/mmc/host/sdhci-of-dwcmshc.c +1
-0@@ -1726,6 +1726,7 @@ static const struct sdhci_ops sdhci_dwcmshc_eic7700_ops = { .set_uhs_signaling = sdhci_eic7700_set_uhs_wrapper, .set_power = sdhci_set_power_and_bus_voltage, .irq = dwcmshc_cqe_irq_handler, + .adma_write_desc = dwcmshc_adma_write_desc, .platform_execute_tuning = sdhci_eic7700_executing_tuning, };
Quoted 8 lines · On Wed, 14 Jan 2026 at 13:23, <[email protected]> wrote:
From: Huan He <[email protected]>
This DWC MSHC has a 128MB limitation where the data buffer size and start address must not exceed the 128MB boundary. Registering the missing '
adma_write_desc' callback function.Signed-off-by Huan He <[email protected]>
Applied for fixes and by adding a fixes tag, thanks!
Kind regards
Uffe
Quoted 19 lines
--- drivers/mmc/host/sdhci-of-dwcmshc.c | 1 + 1 file changed, 1 insertion(+)drivers/mmc/host/sdhci-of-dwcmshc.c +1
-1@@ -1726,6 +1726,7 @@ static const struct sdhci_ops sdhci_dwcmshc_eic7700_ops = { .set_uhs_signaling = sdhci_eic7700_set_uhs_wrapper, .set_power = sdhci_set_power_and_bus_voltage, .irq = dwcmshc_cqe_irq_handler, + .adma_write_desc = dwcmshc_adma_write_desc, .platform_execute_tuning = sdhci_eic7700_executing_tuning, }; --2.25.1