]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
spi: spi-fsl-dspi: Use whole page for DMA buffers
authorJames Clark <james.clark@linaro.org>
Tue, 2 Sep 2025 12:44:57 +0000 (13:44 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 3 Sep 2025 13:30:32 +0000 (14:30 +0100)
commitfbb618e11fa7976c5295facb28afbf1a08393f51
tree0eef9921cfbd47c30e0e8b8ba7bc9e4159fdd63f
parent36db0b03d3745700aca4fced26f6eb624f6ea4bc
spi: spi-fsl-dspi: Use whole page for DMA buffers

dma_alloc_noncoherent() allocations are backed by a full page anyway, so
use it all.

VF610 devices used to use the full page before commit a957499bd437
("spi: spi-fsl-dspi: Fix bits-per-word acceleration in DMA mode"), but
others still used the FIFO size. After that commit, all devices used the
FIFO size. Now all devices use the full page.

Signed-off-by: James Clark <james.clark@linaro.org>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Message-ID: <20250902-james-nxp-spi-dma-v6-5-f7aa2c5e56e2@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-fsl-dspi.c