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: mthca use of dma_sync_single is bogus

To: "Michael S. Tsirkin" <mst@xxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Re: mthca use of dma_sync_single is bogus
From: Roland Dreier <rdreier@xxxxxxxxx>
Date: Tue, 10 Jul 2007 08:33:01 -0700
Authentication-results: sj-dkim-1; header.From=rdreier@xxxxxxxxx; dkim=pass ( sig from cisco.com/sjdkim1004 verified; );
Cc: Lukas Hejtmanek <xhejtman@xxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, Keir Fraser <keir@xxxxxxxxxxxxx>, general@xxxxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 10 Jul 2007 10:17:08 -0700
Dkim-signature: v=0.5; a=rsa-sha256; q=dns/txt; l=240; t=1184081591; x=1184945591; c=relaxed/simple; s=sjdkim1004; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=rdreier@xxxxxxxxx; z=From:=20Roland=20Dreier=20<rdreier@xxxxxxxxx> |Subject:=20Re=3A=20mthca=20use=20of=20dma_sync_single=20is=20bogus |Sender:=20; bh=RgcyiXcXFzb5PIn3Slfg8z3uELSFC9GoHIkEBhfptoE=; b=Bp/5IcIYa2NvgwI4NsYkBbkwsa9i2Z+Ne/BwZ3J74XrDJk29m+GAR+6mNunmHSAgF33F2cZv qRiDGPwuFrTPpfzP+7IjU4+3VblSvN9gJ+EVBGbBCfh8YR9CLhAF4EPIaFbsaC49WO1p0494Jz hKaQf8TUmUhsxBy6pl0tAfF3E=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20070710071547.GA3814@xxxxxxxxxxxxxx> (Michael S. Tsirkin's message of "Tue, 10 Jul 2007 10:15:47 +0300")
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: <adalkdpxopo.fsf@xxxxxxxxx> <20070709213913.GB20052@xxxxxxxxxxxxxx> <adamyy4vjo9.fsf@xxxxxxxxx> <20070710071547.GA3814@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4.20 (linux)
 > What makes you think dma_sync_single_range can't be used on memory mapped
 > by pci_map_sg/dma_map_sg?

The fact that it's dma_sync_*SINGLE*_range, and that there's a
separate dma_sync_sg() function defined in DMA-API.txt.

 - R.

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