lkml.org 
[lkml]   [2006]   [Sep]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: ZONE_DMA
    On Fri, 22 Sep 2006, Jesse Barnes wrote:

    > Oh, it's already there in the tree, but obviously some drivers still need
    > to be converted. See Documentation/DMA-API.txt. It's not PCI specific
    > like the old PCI DMA interface (Documentation/DMA-mapping.txt) and
    > provides a way for drivers to specify their addressing limitations
    > (dma_supported and dma_set_mask), which allows the underlying architecture
    > code to report a failure if necessary.

    AFAICT this is dealing with special dma issues and not with the problem of
    allocating memory for a certain supported address range from the page
    allocator. From the first glance at the docs it looks as if it is relying
    on __GFP_DMAxx to get the allocations right. I think the code could be
    changed though to call a new page allocator function to get the right
    memory and that would work for all devices using that API.

    -
    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/

    \
     
     \ /
      Last update: 2006-09-22 20:35    [W:4.322 / U:0.204 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site