Herrera-Bendezu, Luis wrote:
>> Simply call rtdm_mmap_noncached_to_user instead of rtdm_mmap_to_user.
>>
> 
> Get same kernel panic error as before with this patch. I need to look closer
> at what are the memory allocation functions used by pci_ and dma_.

You need to look closely into rtdm_mmap_to_buffer what physical address
gets passed to the mapping function (should be xnarch_remap_vm_page, as
the virtual address being mapped non cacheable, it probably belongs to
the vmalloc area). In particular, it should be the same as the
dma_addr_t returned by pci_alloc_consistent.

-- 
                                                                Gilles.

_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to