You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2020/09/09 10:21:08 UTC
[GitHub] [incubator-nuttx] davids5 commented on a change in pull request #1734: Allow dma capable to be permissive
davids5 commented on a change in pull request #1734:
URL: https://github.com/apache/incubator-nuttx/pull/1734#discussion_r485503187
##########
File path: arch/arm/src/stm32h7/Kconfig
##########
@@ -1684,6 +1684,16 @@ config STM32H7_DMACAPABLE
Drivers then may use this information to determine if they should
attempt the DMA or fall back to a different transfer method.
+config STM32H7_DMACAPABLE_ASSUME_CACHE_ALIGNED
+ bool "Do not disqualify DMA capability based on cache alignment"
+ depends on STM32H7_DMACAPABLE && ARMV7M_DCACHE && !ARMV7M_DCACHE_WRITETHROUGH
+ default n
+ ---help---
+ This option configures the stm32_dmacapable to not disqualify
+ DMA operations on memory that is not dcache aligned based solely
+ on the starting addresss and byte count.
+ Use this when ALL buffer extents are known to be alligned, but the
Review comment:
@ghn-certi - Thank you for the review. Fixed and force pushed.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org