Re: [PATCH] Replace pci_pool with generic dma_pool

From: Greg KH (greg_at_kroah.com)
Date: 02/02/04

  • Next message: Matt Mackall: "Re: 2.6.2-rc3-tiny1 for small systems"
    Date:	Mon, 2 Feb 2004 11:02:14 -0800
    To: Deepak Saxena <dsaxena@plexity.net>
    
    

    On Fri, Jan 30, 2004 at 05:32:05PM -0700, Deepak Saxena wrote:
    >
    > All,
    >
    > This set of patches against 2.6.2-rc2 removes the PCI-specific pci_pool
    > structure and replaces it with a generic dma_pool. For compatibility with
    > existing PCI drivers, macros are provided that map pci_pool_* to dma_pool_*.
    > This is extremely useful for architecture that have non-PCI devices but
    > require DMA buffer pools. A good example is USB, where we've had to make
    > some hacks in the ARM implementation of the DMA API to get around the
    > USB's usage of the PCI DMA API and pci_pools with non-PCI device.
    > The patch has been tested on x86, ppc, and xscale (ARM).
    >
    > Patch portions are posted as replies to this email.
    >
    > If this patch is accepted, I'll post a follow-on patch to the USB list
    > to clean up the USB layer to only use the generic DMA functions instead
    > of the PCI functions.

    Ok, I've applied these patches to my trees. I did merge your first and
    second patches into 1 patch so bitkeeper would show that you just moved
    the pool.c file from one directory to another, which keeps the file
    history correct.

    I'll forward them off to Linus after 2.6.2 comes out.

    thanks,

    greg k-h
    -
    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/


  • Next message: Matt Mackall: "Re: 2.6.2-rc3-tiny1 for small systems"

    Relevant Pages

    • Re: 2.6.11, USB: High latency?
      ... > The issue with IN transfers is that microframe scheduling is ... ... > the relevant EHCI data structures are almost as irregular as the USB trees ... > enough to repost them against current BK (they include the patch above). ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH] ide-dma.c, ide.c, ide.h, kernel 2.4.24
      ... Did you want to update the patch for those proposed ... I'm really not familiar with the complexities behind DMA ... especially when it comes to simplex devices so I'm ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH] Replace pci_pool with generic dma_pool
      ... > require DMA buffer pools. ... A good example is USB, ... > Patch portions are posted as replies to this email. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: cdromaudio patch gives up too easily
      ... > The patch for DMA based CD reading worked well for me until I tried to ... > cdrom: open failed. ... and then skipping dma completely, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH] PCI: Add pci shutdown ability
      ... >> I don't know when USB stop on it's own. ... DMA to/from the assigned area forever. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)