Re: kmalloc/pci_alloc and skbuff's

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux