I am porting / debugging a device driver (which is used by another kernel module) and is facing a dead end because dma_sync_single_for_device () fails with the kernel.
I donโt know what this function should do, and googling really doesnโt help, so I probably need to learn more about this material in general.
The question is where to start?
Oh, yes, in case it matters, the code should work on PowerPC (and linux - OpenWRT)
EDIT: Online resources are preferable (books take several days: 1)
memory-management linux embedded dma
Kimvais
source share