How to transfer data via DMA from RAM to RAM?
I want to write a kernel module that can transfer data via DMA from RAM to RAM. There are some posts that discuss this, but I don't really get it. Some say it is possible others say it isn’t. If I understood ldd3 right, RAM to RAM copying isn‘t possible with the DMA API of linux, but the driver/dma/dmaengine.c provides a flag DMA_MEMCPY for a "DMA Transfer Type", so there should be a way. Is this correct, can I use a dma engine to transfer data from one ram address to another? If it is hardware dependent, how can I determine if my system supports dma memcpy? As you correctly pointed out, DMA