Article 5SAEK dma_alloc_coherent

dma_alloc_coherent

by
zvivered
from LinuxQuestions.org on (#5SAEK)
Hello,

Under Centos 8.2(x64) I'm using dma_alloc_coherent to allocate a contiguous RAM used for DMA from FPGA to RAM.

How can I set this area to be not cacheable ?

Is this really a coherentbuffer ?

If yes, then O.S should invalidate the cache automatically so that I always read a fresh data from cache.

In what case I should also use dma_map_single and also dma_alloc_coherent ?

Thank you,
Zvikalatest?d=yIl2AUoC8zA latest?i=-WaAWjErzAA:9lIomkjmzZc:F7zBnMy latest?i=-WaAWjErzAA:9lIomkjmzZc:V_sGLiP latest?d=qj6IDK7rITs latest?i=-WaAWjErzAA:9lIomkjmzZc:gIN9vFw
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments