[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] kmap_atomic issue with SLES11SP1 32bit XEN driver code
On Thu, Dec 15, 2011 at 05:19:32PM -0600, dbrace wrote: > Can you give me some URLs to documentation that can help me understand > my issue? > > Is sounds like I cannot go back to the correct virtual address after I > map it for DMA. Well yes. That assumption that virt_to_phys == phys_to_virt is not valid anymore. The obvious solution to your problem is to carry a _both_ values - the bus address (the one you get from the DMA API), and the virtual address (the one you get from alloc_page). That is how all the drivers do it. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |