Re: [PATCH] mmc: core: Only set maximum DMA segment size if DMA is supported

patchwork-bot+linux-riscv
2024-11-12T22:55:02Z

Hello:

This patch was applied to riscv/linux.git (fixes)
by Ulf Hansson <ulf.hansson@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.