summaryrefslogtreecommitdiff
path: root/arch/arm/kernel/stacktrace.c
diff options
context:
space:
mode:
authorChristian Eggers <ceggers@arri.de>2020-07-28 12:08:32 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-08-19 08:15:06 +0200
commitacc8ff07a2117b4b0d02e1f007dd1c66f34a8645 (patch)
treeb5f2fba1e6f66fabdec4672147c0cc34dc131b6d /arch/arm/kernel/stacktrace.c
parent5de7ab80c866b4e31907109cb1993ac7422e09ae (diff)
spi: spidev: Align buffers for DMA
commit aa9e862d7d5bcecd4dca9f39e8b684b93dd84ee7 upstream. Simply copying all xfers from userspace into one bounce buffer causes alignment problems if the SPI controller uses DMA. Ensure that all transfer data blocks within the rx and tx bounce buffers are aligned for DMA (according to ARCH_KMALLOC_MINALIGN). Alignment may increase the usage of the bounce buffers. In some cases, the buffers may need to be increased using the "bufsiz" module parameter. Signed-off-by: Christian Eggers <ceggers@arri.de> Cc: stable@vger.kernel.org Link: https://lore.kernel.org/r/20200728100832.24788-1-ceggers@arri.de Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/arm/kernel/stacktrace.c')
0 files changed, 0 insertions, 0 deletions