[PATCH] mmc: core: Only set maximum DMA segment size if DMA is supported
patchwork-bot+linux-riscv at kernel.org
patchwork-bot+linux-riscv at kernel.org
Tue Nov 12 14:53:14 PST 2024
Hello:
This patch was applied to riscv/linux.git (fixes)
by Ulf Hansson <ulf.hansson at linaro.org>:
On Tue, 24 Sep 2024 14:01:23 -0700 you wrote:
> Since upstream commit 334304ac2bac ("dma-mapping: don't return errors
> from dma_set_max_seg_size") calling dma_set_max_seg_size() on a device
> not supporting DMA results in a warning traceback. This is seen when
> booting the sifive_u machine from SD. The underlying SPI controller
> (sifive,spi0 compatible) explicitly sets dma_mask to NULL.
>
> Avoid the backtrace by only calling dma_set_max_seg_size() if DMA is
> supported.
>
> [...]
Here is the summary with links:
- mmc: core: Only set maximum DMA segment size if DMA is supported
https://git.kernel.org/riscv/c/c26339faed11
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
More information about the linux-riscv
mailing list