lkml.org 
[lkml]   [2020]   [Jun]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 2/2] arm-nommu: Add use_reserved_mem() to check if device support reserved memory
    On Tue, Jun 09, 2020 at 05:25:04PM +0100, Vladimir Murzin wrote:
    > Even though commit mentions ARM, I do not see how mmap would continue
    > to work for NOMMU with dma-direct. ARM NOMMU needs it's own DMA operations
    > only in cases where caches are implemented or active, in other cases it
    > fully relies on dma-direct.

    > It looks to me that we either should provide NOMMU variant for mmap in
    > dma/direct or (carefully) fix dma/mapping.

    I think dma-direct is the right place, the common helpers in
    dma/mapping.c are basically the red headed stepchilds for misc
    IOMMU drivers not covered by dma-iommu only.

    \
     
     \ /
      Last update: 2020-06-09 19:35    [W:3.102 / U:0.092 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site