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

[Xen-devel] xen_create_contiguous_region - Regarding

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] xen_create_contiguous_region - Regarding
From: Jambunathan K <jambunathan@xxxxxxxxxx>
Date: Fri, 06 Apr 2007 16:16:51 +0530
Cc: sanjeev@xxxxxxxxxx
Delivery-date: Fri, 06 Apr 2007 03:46:58 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.10 (Windows/20070221)
Our driver maintains it's own set of bounce buffers rather than relying
on swiotlb.

Some context info could be accessed from this thread in the netdev
mailing list - http://marc.info/?l=linux-netdev&m=116430007806101&w=2

Given that we prefer to maintain our own bounce buffers, I could neither
find a dependable API that let the driver allocate machine contiguous
memory (that could later be *pci_map_singled*) nor find a suitable hook
to xen_create_contiguous_region.

As an aside, is there a tweak to "increase" contiguous memory regions
available so that xen_create_contiguous_regions() succeeds. On DomUs,
when swiotlb is enabled, I see some crashes which I would like to avoid
by redistributing memory resources.

Jambunathan K.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel