raiden00pl opened a new pull request, #22003:
URL: https://github.com/apache/nuttx/pull/22003
## Summary
Enable the L1 I- and D-cache on STM32N6, with the fixes the existing
N6 drivers need for it:
- armv8-m: the CACR address is 0xe001e008 on Cortex-M55/M85.
- GPDMA: clean the circular-mode linked list items from the D-cache.
- SPI v5: invalidate the RX buffer after the DMA transfer.
- M33/M55 U(S)ART: cache-line aligned RX DMA buffers, invalidated
before reading.
- stm32n6570-dk, nucleo-n657x0-q: enable both caches.
## Impact
STM32N6 only; the driver changes do nothing without CONFIG_ARMV8M_DCACHE.
## Testing
stm32n6570-dk, I- and D-cache on:
- nsh with USART1 RX DMA: 300/300 random 75-byte command lines sent in
bursts echoed correctly. Without the U(S)ART fix the console stops
after the first line.
- netnsh: 1000 Mbps link, 3000/3000 host pings, 300/300 at 1400 and
1472 bytes, 3/3 ifdown/ifup.
- nsh with SPI5 DMA, D11-D12 loopback: 300/300 random 5-29 byte
exchanges matched.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]