lkml.org 
[lkml]   [2023]   [Feb]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH 5/7] dma-mapping: Provide CONFIG_ARCH_DMA_DEFAULT_COHERENT
    From
    Date


    > 2023年2月21日 17:58,Christoph Hellwig <hch@lst.de> 写道:
    >
    > On Tue, Feb 21, 2023 at 12:46:11PM +0000, Jiaxun Yang wrote:
    >> Provide a kconfig option to allow arches to manipulate default
    >> value of dma_default_coherent in Kconfig.
    >
    > I don't see the win over just doing this by setting dma_default_coherent
    > in the early boot code.

    I just don’t want to dig into every archs’ early boot code to decide a good
    timing for setting this variable.

    Also as we do have a OF_DMA_DEFAULT_COHERENT before it makes more
    sense to me.

    Thanks
    - Jiaxun
    \
     
     \ /
      Last update: 2023-03-27 00:30    [W:3.235 / U:0.012 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site