[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20070524110827.65e49b78@the-village.bc.nu>
Date: Thu, 24 May 2007 11:08:27 +0100
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: Robert Hancock <hancockr@...w.ca>
Cc: "Salyzyn, Mark" <mark_salyzyn@...ptec.com>,
James Bottomley <James.Bottomley@...elEye.com>,
Aubrey Li <aubreylee@...il.com>,
Christoph Lameter <clameter@....com>,
Bernhard Walle <bwalle@...e.de>, linux-scsi@...r.kernel.org,
Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] [scsi] Remove __GFP_DMA
> > 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists