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

xen-devel

[Top] [All Lists]

Re: [Xen-devel] [LINUX] dma: Use swiotlb mask for coherent mappings too

To: Jan Beulich <jbeulich@xxxxxxxxxx>, Keir Fraser <keir@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [LINUX] dma: Use swiotlb mask for coherent mappings too
From: Keir Fraser <keir@xxxxxxxxxxxxx>
Date: 2006年12月20日 13:36:11 +0000
Cc: Xen Development Mailing List <xen-devel@xxxxxxxxxxxxxxxxxxx>, Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>, Calvin Webster <cwebster@xxxxxxxxx>
Delivery-date: 2006年12月20日 05:36:15 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <45893CB8.76E4.0078.0@xxxxxxxxxx>
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: AcckO8+4DkLv6JAvEduE2gAX8io7RQ==
Thread-topic: [Xen-devel] [LINUX] dma: Use swiotlb mask for coherent mappings too
User-agent: Microsoft-Entourage/11.2.5.060620
On 20/12/06 12:38, "Jan Beulich" <jbeulich@xxxxxxxxxx> wrote:
>>>> 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).
dma_alloc_coherent is used to allocate some rather big areas in some cases
(e.g., when uploading firmware) which I'm sure would not fit in the
swiotlb's 64kB contiguous allocations. Some kind of is-within-aperture query
function would seem a reasonable addition to the swiotlb API.
 -- Keir
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: Re: [Xen-devel] [PATCH] Unmatched decrementing of net device reference count , Glauber de Oliveira Costa
Next by Date: [Xen-devel] Why can not use Windows-key on keyboard , keke
Previous by Thread: Re: [Xen-devel] [LINUX] dma: Use swiotlb mask for coherent mappings too , Jan Beulich
Next by Thread: [Xen-devel] VMX status report 13088:057f7c4dbed1 , Yu, Ping Y
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /