lkml.org 
[lkml]   [2018]   [Apr]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    SubjectRe: x86/dma conversion for v4.17-rc1 breaks sound / sst-acpi (commit 6e4bf5867783)
    Hi Dominik,

    can you try current Linus' master with the following hack applied and
    see if that works?

    diff --git a/lib/swiotlb.c b/lib/swiotlb.c
    index 47aeb04c1997..32aacd0d56a8 100644
    --- a/lib/swiotlb.c
    +++ b/lib/swiotlb.c
    @@ -1087,6 +1087,6 @@ const struct dma_map_ops swiotlb_dma_ops = {
    .unmap_sg = swiotlb_unmap_sg_attrs,
    .map_page = swiotlb_map_page,
    .unmap_page = swiotlb_unmap_page,
    - .dma_supported = swiotlb_dma_supported,
    + .dma_supported = dma_direct_supported,
    };
    #endif /* CONFIG_DMA_DIRECT_OPS */
    \
     
     \ /
      Last update: 2018-04-06 16:15    [W:2.164 / U:0.136 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site