WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: "Jacob Gorm Hansen" <jacobg@xxxxxxx>, "Ian Pratt" <Ian.Pratt@xxxxxxxxxxxx>
Subject: RE: [Xen-devel] Failure to get memory for GATT table, again
From: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Date: Wed, 2 Feb 2005 00:01:41 -0000
Cc: "xen-devel" <xen-devel@xxxxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 02 Feb 2005 00:05:22 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
Thread-index: AcUIthWChGpTm4jERjC6YGV5Th9gmQABA60A
Thread-topic: [Xen-devel] Failure to get memory for GATT table, again
> > You should be able to call ioremap_nocache on the virt_to_bus'ed
> > address you get back from xen_contig_memory.
> 
> Apparently this is where things go wrong; the pages I get 
> from __get_free_pages
> seem to always be a the top of dom0 mem (probably because 
> order is 6), and when
> converted with virt_to_bus I get an mfn which Xen thinks is 
> not owned by dom0.

dma_alloc_coherent should be calling xen_contig_mem which should turn
the pages into ones that are owned by dom0 and contiguous. Add some
dubugging to xen_contig_mem to see if you're getting there.

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