From: Keir Fraser Subject: Re: [ofa-general] mthca use of dma_sync_single is bogus Date: Mon, 09 Jul 2007 22:36:42 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: general-bounces@lists.openfabrics.org Errors-To: general-bounces@lists.openfabrics.org To: Roland Dreier , mst@mellanox.co.il Cc: Lukas Hejtmanek , xen-devel@lists.xensource.com, general@lists.openfabrics.org List-Id: xen-devel@lists.xenproject.org On 9/7/07 22:29, "Roland Dreier" 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