|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] Physical address mapping to user space in dom0 problem
I have a PCI device which can perform bus master DMA. I developed a PCI device driver which can allocate DMA buffer and provide mmap operation to map the I/O and DMA buffer to user space.
The PCI device driver works well under Linux 2.6.20. However it brokes under XEN 3.0.4. It appears that mmap map to the wrong memory.
remap_pfn_range in mmap function return no error when it is used to map both I/O and DMA buffer. If I use io_remap_pfn_range instead of
remap_pfn_range, I/O mapping works but DMA buffer mapping return -1.
Is this a known problem for XEN 3.0.4 and will be fixed later? Is there any alternative way to map the DMA address to user space in XEN dom0?
Thanks in advance,
hyang
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] Physical address mapping to user space in dom0 problem,
Haw-Yuan Yang <=
|
|
|
|
|