Documentation/DMA-API-HOWTO.txt

Peter Senna Tschudin peter.senna at gmail.com
Fri Oct 24 07:57:59 EDT 2014


There is a portion of DMA-API-HOWTO.txt that was not updated for a long time.

-- // --
This means specifically that you may _not_ use the memory/addresses
returned from vmalloc() for DMA.  It is possible to DMA to the
_underlying_ memory mapped into a vmalloc() area, but this requires
walking page tables to get the physical addresses, and then
translating each of those pages back to a kernel address using
something like __va().  [ EDIT: Update this when we integrate
Gerd Knorr's generic code which does this. ]
-- // --

Was Gerd Knorr's generic code integrated?



-- 
Peter



More information about the Kernelnewbies mailing list