]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit - arch/microblaze/kernel/dma.c
arch/microblaze: add option to skip DMA sync as a part of map and unmap
authorAlexander Duyck <alexander.h.duyck@intel.com>
Wed, 14 Dec 2016 23:04:55 +0000 (15:04 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 15 Dec 2016 00:04:07 +0000 (16:04 -0800)
commit98ac2fc274e07a22bea43682cf8998f47ffea9d0
tree4ddf06f30ac96c18d67dfe4789e1121a4c6b7a24
parent38bdbdc7e391f5326a9f27f0bc8be0c175a73567
arch/microblaze: add option to skip DMA sync as a part of map and unmap

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.

Link: http://lkml.kernel.org/r/20161110113508.76501.77583.stgit@ahduyck-blue-test.jf.intel.com
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Cc: Michal Simek <monstr@monstr.eu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/microblaze/kernel/dma.c