lkml.org 
[lkml]   [2016]   [Oct]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [net-next PATCH RFC 19/26] arch/sparc: Add option to skip DMA sync as a part of map and unmap
    From
    From: Alexander Duyck <alexander.h.duyck@intel.com>
    Date: Mon, 24 Oct 2016 08:06:07 -0400

    > This change allows us to pass DMA_ATTR_SKIP_CPU_SYNC which allows us to
    > avoid invoking cache line invalidation if the driver will just handle it
    > via a sync_for_cpu or sync_for_device call.
    >
    > Cc: "David S. Miller" <davem@davemloft.net>
    > Cc: sparclinux@vger.kernel.org
    > Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>

    This is fine for avoiding the flush for performance reasons, but the
    chip isn't going to write anything back unless the device wrote into
    the area.

    \
     
     \ /
      Last update: 2016-10-24 20:27    [W:2.519 / U:0.132 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site