Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932281AbVIYTh0 (ORCPT ); Sun, 25 Sep 2005 15:37:26 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932282AbVIYThZ (ORCPT ); Sun, 25 Sep 2005 15:37:25 -0400 Received: from [85.8.12.41] ([85.8.12.41]:59269 "EHLO smtp.drzeus.cx") by vger.kernel.org with ESMTP id S932281AbVIYThZ (ORCPT ); Sun, 25 Sep 2005 15:37:25 -0400 Message-ID: <4336FC72.70103@drzeus.cx> Date: Sun, 25 Sep 2005 21:37:22 +0200 From: Pierre Ossman User-Agent: Mozilla Thunderbird 1.0.6-5 (X11/20050818) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Christoph Hellwig CC: rmk+lkml@arm.linux.org.uk, linux-kernel@vger.kernel.org, Andi Kleen Subject: Re: [PATCH] [MMC] wbsd: use dma_alloc insted of kmalloc References: <20050925191614.23944.2485.stgit@poseidon.drzeus.cx> <20050925192958.GA25848@infradead.org> In-Reply-To: <20050925192958.GA25848@infradead.org> X-Enigmail-Version: 0.90.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 964 Lines: 30 Christoph Hellwig wrote: > On Sun, Sep 25, 2005 at 09:16:23PM +0200, Pierre Ossman wrote: > >>x86_64 doesn't seem to like being passed pointers allocated using >>kmalloc to the DMA mapping API. > > > How so? There's not much else that could be passed to dma_map_single. It kept oopsing on dma_map_single(). I'm guessing it expects som structures to be present for its IOMMU. http://list.drzeus.cx/pipermail/wbsd-devel/2005-September/000335.html > > Please try to fix x86_64 instead. I'm not familiar with the x86_64 IOMMU, I don't even have access to the hardware. So I figured I'd side-step the problem since there was an API avaiable that works more reliably. Andi might be more up to the task? Rgds Pierre - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/