You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "pkarashchenko (via GitHub)" <gi...@apache.org> on 2023/04/27 07:27:28 UTC

[GitHub] [nuttx] pkarashchenko commented on a diff in pull request #9118: Add option for selecting coherent DMA.

pkarashchenko commented on code in PR #9118:
URL: https://github.com/apache/nuttx/pull/9118#discussion_r1178733976


##########
arch/risc-v/src/litex/litex_sdio.c:
##########
@@ -860,7 +860,9 @@ static int litex_recvsetup(struct sdio_dev_s *dev, uint8_t *buffer,
 
   /* flush CPU d-cache */
 
+#ifndef CONFIG_LITEX_COHERENT_DMA
   up_invalidate_dcache_all();

Review Comment:
   Maybe only a region needs to be invalidated instead of all?



-- 
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: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org