nuttx/arch/arm
Jukka Laitinen a532b0b53a arch/arm/src/stm32h7/stm32_dma.c: Optimization for stm32_sdma_capable
It should not be an error to clean cache beyond the dma source buffer
boundaries. It would just prematurely push some unrelated data from
cache to memory.

The only case where it would corrupt memory is that there is a dma
destination buffer overlapping the same cache line with the source
buffer. But this can't happen, because a destination buffer must always
be cache-line aligned when using write-back cache.

This patch enables doing dma tx-only transfer from unaligned source
buffer when using write-back cache.

Signed-off-by: Jukka Laitinen <jukka.laitinen@intel.com>
2020-05-14 17:31:06 -06:00
..
include Remove executable bit from source code 2020-05-13 06:32:13 -06:00
src arch/arm/src/stm32h7/stm32_dma.c: Optimization for stm32_sdma_capable 2020-05-14 17:31:06 -06:00
Kconfig Porting arch/armv8-m support 2020-04-26 07:43:37 -06:00