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] [LINUX] dma: Use swiotlb mask for coherent mappings too

To: "Keir Fraser" <keir@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [LINUX] dma: Use swiotlb mask for coherent mappings too
From: "Jan Beulich" <jbeulich@xxxxxxxxxx>
Date: Wed, 20 Dec 2006 12:38:00 +0000
Cc: Xen Development Mailing List <xen-devel@xxxxxxxxxxxxxxxxxxx>, Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>, Calvin Webster <cwebster@xxxxxxxxx>
Delivery-date: Wed, 20 Dec 2006 04:37:12 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C1AED51E.6A2B%keir@xxxxxxxxxxxxx>
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>
References: <4589319B.76E4.0078.0@xxxxxxxxxx> <C1AED51E.6A2B%keir@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
>>> Keir Fraser <keir@xxxxxxxxxxxxx> 20.12.06 12:55 >>>
>We could fall back to swiotlb_alloc/free_coherent?

Hmm, that would mean extra tracking, as dma_free_coherent must have a way
to tell whether to call xen_destroy_contiguous_region directly or invoke
swiotlb_free_coherent (and I wouldn't want to make io_tlb_{start,end} global).

Jan

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