nuttx/arch/arm
Jukka Laitinen d1c406d65d arch/arm/src/stm32h7/stm32_spi.c: Correct cache flush
When starting dma transfer, the dcache for the TX buffer should be cleaned.
"flush" performs also invalidate, which is unnecessary. The TX buffer
can be unaligned to the cahche line in some(most) cases, whereas RX buffer
can never be.

The cache for the receive buffer can be dirty and valid before call to exchange.
Thus another memory access (hitting the same cache line) may corrupt receive data
while waiting for transfer to complete. So the receive buffer should be
invalidated before the transfer

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