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] Xen 3.0 Status update

To: "Gerd Knorr" <kraxel@xxxxxxx>
Subject: RE: [Xen-devel] Xen 3.0 Status update
From: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Date: Fri, 29 Jul 2005 12:16:19 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Scott Parish <srparish@xxxxxxxxxx>
Delivery-date: Fri, 29 Jul 2005 11:14:49 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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
Thread-index: AcWUHVfhakjeiKQ4QEW/z6d5M9b2QgAEMqJg
Thread-topic: [Xen-devel] Xen 3.0 Status update
 
> bttv tries to allocate buffers from ZONE_NORMAL (i.e. avoid 
> highmem) in case it has control over the allocations, which 
> is far from being perfect.  Works reliable only on 32 bit, 
> doesn't work on 64-bit without iommu and >4GB for example ...

Yep, for pages for actual data-path transfers there's nothing better we
can do than use the iommu (or s/w implementation their of).

However, for the long-lived control regions used by some devices (e.g.
for descriptor rings etc) it probably makes sense to try and allocate
them in memory they can access directly. Some of these have daft
restrictions, such as the aacraid device only being able to use memory
below 2GB for its control program.

Most of these regions are bigger than a page so have to be created with
dma_alloc_coherent, hence we have an opportunity to allocate them in a
region they can directly access.

Ian

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