[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Failure to get memory for GATT table, again



> hmm, actually it seems the case is that dma_alloc_coherent() falls back to
> calling __get_free_pages(), because dev->dma_mem is NULL. When the returned
> address gets converted into a bus address, the resulting address seems to be 
> within Xen-space :-(
> 
> Why is calling __get_free_pages() a problem?

The AGP aperture needs a set of machine contiguous pages, whereas
get_free_pages will only give you pseudo-physical contiguous.

Drivers are supposed to use the former (for reasons of ensuring
DMA coherence) , but the agp drivers seem particularly shoddy,
probably because they've only ever been used on x86.

Ian


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.