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] Re: [ofa-general] mthca use of dma_sync_single is bogus

To: Roland Dreier <rdreier@xxxxxxxxx>, <mst@xxxxxxxxxxxxxx>
Subject: [Xen-devel] Re: [ofa-general] mthca use of dma_sync_single is bogus
From: Keir Fraser <keir@xxxxxxxxxxxxx>
Date: Mon, 09 Jul 2007 22:36:42 +0100
Cc: Lukas Hejtmanek <xhejtman@xxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, general@xxxxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 09 Jul 2007 14:31:29 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <ada8x9pxo3f.fsf@xxxxxxxxx>
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: AcfCcT1de6o9VS5kEdynZwAWy6hiGQ==
Thread-topic: [ofa-general] mthca use of dma_sync_single is bogus
User-agent: Microsoft-Entourage/11.3.3.061214
On 9/7/07 22:29, "Roland Dreier" <rdreier@xxxxxxxxx> wrote:

> Unfortunately it seems like the kernel's swiotlb does not implement
> the full DMA API so this won't actually fix Xen :(.

It implements the sync_single_range_for_{cpu,device} functions.

But we use our own swiotlb implementation anyway. arch/i386/kernel/swiotlb.c
in a Xen-patched tree is used by both i386/xen and x64/xen. We haven't yet
merged with main lib/swiotlb.c.

 -- Keir


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