Re: DMA memory limitation?

2001-07-06 Thread Alan Cox
> > > GFP_DMA is ISA dma reachable, Forget the IA64, their setup is weird and > > > should best be ignored until 2.5 as and when they sort it out. > > Really ? I don't think I can ignore IA64, there are people who ask for it Well the current IA64 tree isnt related to the standard Linux beha

Re: DMA memory limitation?

2001-07-06 Thread Steffen Persvold
> > GFP_DMA is ISA dma reachable, Forget the IA64, their setup is weird and > > should best be ignored until 2.5 as and when they sort it out. Really ? I don't think I can ignore IA64, there are people who ask for it > > > bounce buffers are needed. On Alpha GFP_DMA is not limited at all (I

Re: DMA memory limitation?

2001-07-06 Thread Jeff Garzik
Alan Cox wrote: > No ifdefs are needed > > GFP_DMA - ISA dma reachable > pci_alloc_* and friends - PCI usable memory pci_alloc_* is designed to support ISA. Pass pci_dev==NULL to pci_alloc_* for ISA devices, and it allocs GFP_DMA for you. -- Jeff Garzik | A recent study h

Re: DMA memory limitation?

2001-07-06 Thread Alan Cox
> A problem arises on 64 bit platforms (such as IA64) if your PCI card is only 32bit >(can > address the first 4G) and you don't wan't to use bounce buffers. If you use GFP_DMA >on GFP_DMA is ISA dma reachable, Forget the IA64, their setup is weird and should best be ignored until 2.5 as and w

Re: DMA memory limitation?

2001-07-06 Thread Steffen Persvold
Helge Hafting wrote: > > Vasu Varma P V wrote: > > > > Hi, > > > > Is there any limitation on DMA memory we can allocate using > > kmalloc(size, GFP_DMA)? I am not able to acquire more than > > 14MB of the mem using this on my PCI SMP box with 256MB ram. > > I think there is restriction on ISA bo

Re: DMA memory limitation?

2001-07-06 Thread Helge Hafting
Vasu Varma P V wrote: > > Hi, > > Is there any limitation on DMA memory we can allocate using > kmalloc(size, GFP_DMA)? I am not able to acquire more than > 14MB of the mem using this on my PCI SMP box with 256MB ram. > I think there is restriction on ISA boards of 16MB. > Can we increase it ?

RE: DMA memory limitation?

2001-07-05 Thread Richard B. Johnson
On Thu, 5 Jul 2001, Christophe Beaumont wrote: > > > > On Thu, 5 Jul 2001, Vasu Varma P V wrote: > > > > > Hi, > > > > > > Is there any limitation on DMA memory we can allocate using > > > kmalloc(size, GFP_DMA)? I am not able to acquire more than > > > 14MB of the mem using this on my PCI SM

RE: DMA memory limitation?

2001-07-05 Thread Christophe Beaumont
> On Thu, 5 Jul 2001, Vasu Varma P V wrote: > > > Hi, > > > > Is there any limitation on DMA memory we can allocate using > > kmalloc(size, GFP_DMA)? I am not able to acquire more than > > 14MB of the mem using this on my PCI SMP box with 256MB ram. > > I think there is restriction on ISA boar

Re: DMA memory limitation?

2001-07-05 Thread Richard B. Johnson
On Thu, 5 Jul 2001, Vasu Varma P V wrote: > Hi, > > Is there any limitation on DMA memory we can allocate using > kmalloc(size, GFP_DMA)? I am not able to acquire more than > 14MB of the mem using this on my PCI SMP box with 256MB ram. > I think there is restriction on ISA boards of 16MB. > Can

Re: DMA memory limitation?

2001-07-05 Thread Vasu Varma P V
but we have a macro in include/asm-i386/dma.h, MAX_DMA_ADDRESS (PAGE_OFFSET+0x100). if i change it to a higher value, i am able to get more dma memory. Is there any way i can change this without compiling the kernel? Arjan van de Ven wrote: > Vasu Varma P V wrote: > > > > Hi, > > > > Is th

Re: DMA memory limitation?

2001-07-05 Thread Arjan van de Ven
Vasu Varma P V wrote: > > Hi, > > Is there any limitation on DMA memory we can allocate using > kmalloc(size, GFP_DMA)? I am not able to acquire more than > 14MB of the mem using this on my PCI SMP box with 256MB ram. > I think there is restriction on ISA boards of 16MB. > Can we increase it ?