linux-mips
[Top] [All Lists]

Re: kmalloc/pci_alloc and skbuff's

To: Geoffrey Espin <espin@idiom.com>
Subject: Re: kmalloc/pci_alloc and skbuff's
From: "Gleb O. Raiko" <raiko@niisi.msk.ru>
Date: Wed, 19 Dec 2001 12:05:23 +0300
Cc: linux-mips@oss.sgi.com
Organization: NIISI RAN
References: <20011218123848.A75986@idiom.com>
Sender: owner-linux-mips@oss.sgi.com
Geoffrey Espin wrote:
> 
> The Markham board (Korva/VR41xx variant) which I'm trying to get
> submitted, has a PCI problem.  It doesn't allow a PCI device to
> see all the DRAM.  DMA-able data must be in a special 4MB range,
> which is currently set at 0x01c00000 (the last 4MB of a 32MB
> system). SKB's must be allocated within this area for a
> (say, Ethernet) PCI device to access. There appears to be no way
> to tell kmalloc(), used in alloc_skb(), to allocate memory from
> any special address range.
> 

What's wrong with GFP_DMA ? Doesn't it solve exactly this problem ?

Regards,
Gleb.

<Prev in Thread] Current Thread [Next in Thread>