[Letux-kernel] DMA driver (was Re: [PATCH 00/20] A bunch of JZ4730 fixups for letux-kernel)
paul at boddie.org.uk
Sat Jan 16 19:10:35 CET 2021
On Friday, 15 January 2021 22:23:52 CET Dr. H. Nikolaus Schaller wrote:
> Would you have or know some sample Code?
Sorry not to reply to this before now, but I did look around for some
convenient ways of initiating memory-to-memory DMA transfers from user space
in Linux, but it doesn't seem like something that can be easily done (and when
people have asked, they get the usual treatment of being asked in response
about what they "really want to do").
I guess that some kind of driver exposing the mechanism as a device could be
feasible, but it may be more useful for me to review the code again and look
for other obvious faults. Of course, the MMC driver doesn't rely on working
DMA, so there is no immediate need for it to work.
More information about the Letux-kernel