[lkml]   [2006]   [Nov]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: mmaping a kernel buffer to user space

    Russell King wrote:
    > On Wed, Nov 01, 2006 at 01:58:17PM +0100, Guillermo Marcus Martinez wrote:
    >> My suggestion would be to add two functions: pci_map_consistent() and
    >> dma_map_coherent() to address this issue, and their corresponding
    >> unmap's. That will make sure all that is needed is done, is a clean and
    >> consistent with the pci_ and dma_ APIs, and fills a mmap requirement not
    >> covered by the other functions.
    > You might want to look through include/asm-arm/dma-mapping.h to see if
    > an architecture already has considered that and the interface they
    > implemented.

    Nice! Thanks. I think the issue of mapping a coherent area to user space
    is fairly general. Should not this be promoted to be part of the general
    dma-api? (that is, not a platform specific function)
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2006-11-02 12:35    [W:0.019 / U:5.004 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site