RE: pci_alloc_consistent question

MEHTA,HIREN (hiren_mehta@agilent.com)
Fri, 19 Oct 2001 15:24:14 -0600


so, what is the conservative number ? 1MB ?

-hiren

-----Original Message-----
From: Ralf Baechle [mailto:ralf@uni-koblenz.de]
Sent: Friday, October 19, 2001 1:58 PM
To: MEHTA,HIREN (A-SanJose,ex1)
Cc: 'linux-kernel@vger.kernel.org'
Subject: Re: pci_alloc_consistent question

On Fri, Oct 19, 2001 at 12:32:19PM -0600, MEHTA,HIREN (A-SanJose,ex1) wrote:

> Is there any limitation on the amount of contiguous dmaable memory that
> can be allocated using a single call to pci_alloc_consistent() ?

Entirely platform dependant. On some systems the total available DMA memory
for DMA may be as limited as 1mb, others have limits like 16mb yet other can
support the entire 32-bit address space for DMA. So in case of doubt be
conservative.

Ralf
-
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/