Forum Discussion
Altera_Forum
Honored Contributor
16 years agoHi Leon (and others),
I have been playing with your driver and tinkering with my own modifications. I have a questions - do we really need to have cache coherent memory for "DESCRIPTOR TABLE". I am trying to export descriptor table and bar at userspace. Have you tried mmap'ing a pci_alloc_consistent memory into User space. For me mmap is successful (for Table descriptor) but my writes are not visible to me. I don't see any change in memory after writes ( e.g. after writing 0x0000FADE, it is not visible). I am able to do similar thing with kmalloc allocation. It seems that write is not working correctly. Any help will be appreciated. -VIneet Thanks in advance