help l4linux dma usage

jangwoo jwrho at
Tue Mar 20 09:08:05 CET 2012

Hi all.

I’m jangwoo.


I have some question about l4linux DMA usage.


Currently if use dma_alloc_coherent api, it works well.


You kwow that “dma_alloc_coherent” get virt addr and phys addr

But most case of dma usage is to change virt addr into phys addr. 

Mostly virt addr comes from generic layer of linux kernel. Os it is hard to


So, I tried to call virt_to_phys(internal mapping l4x_virt_to_phys), but
this function wasn’t direct mapping.

I feel like delaying to sync between virt addr and phys addr.(when I check
with Trace32)

Anyway as “virt_to_phys” have these issues, DMA operation hit miss.


Currently l4linux don’t support most dma function. how can I work DMA
although it is expedient method?



p.s :

Not support dma list










thanks all.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the l4-hackers mailing list