Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758026AbXEXKES (ORCPT ); Thu, 24 May 2007 06:04:18 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755666AbXEXKEB (ORCPT ); Thu, 24 May 2007 06:04:01 -0400 Received: from outpipe-village-512-1.bc.nu ([81.2.110.250]:55358 "EHLO the-village.bc.nu" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1754768AbXEXKEA (ORCPT ); Thu, 24 May 2007 06:04:00 -0400 Date: Thu, 24 May 2007 11:08:27 +0100 From: Alan Cox To: Robert Hancock Cc: "Salyzyn, Mark" , James Bottomley , Aubrey Li , Christoph Lameter , Bernhard Walle , linux-scsi@vger.kernel.org, Andrew Morton , linux-kernel@vger.kernel.org Subject: Re: [PATCH] [scsi] Remove __GFP_DMA Message-ID: <20070524110827.65e49b78@the-village.bc.nu> In-Reply-To: <46552292.3090207@shaw.ca> References: <46552292.3090207@shaw.ca> X-Mailer: Claws Mail 2.9.1 (GTK+ 2.10.8; i386-redhat-linux-gnu) Organization: Red Hat UK Cyf., Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, Y Deyrnas Gyfunol. Cofrestrwyd yng Nghymru a Lloegr o'r rhif cofrestru 3798903 Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 766 Lines: 15 > > That didn't used to work right on the AMD boards when I tried it last as > > we ended up with a buffer that was mapped by the IOMMU for some reason > > and that was not below 2GB. > > The physical address you mean? If that is still happening then it needs > to get fixed. The allocation should not succeed if it can't provide > memory that's inside the DMA mask for the device.. But the allocation can succeed - using GFP_DMA at least you can do it as you get memory below 2^24 you don't need to map via the IOMMU - 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/