]> git.karo-electronics.de Git - linux-beck.git/commit
swiotlb: Add support for DMA_ATTR_SKIP_CPU_SYNC
authorAlexander Duyck <alexander.h.duyck@intel.com>
Wed, 2 Nov 2016 11:13:02 +0000 (07:13 -0400)
committerKonrad Rzeszutek Wilk <konrad@kernel.org>
Mon, 7 Nov 2016 20:06:33 +0000 (15:06 -0500)
commit0443fa003fa199f41bfbed3012f314d02c5b1f24
tree401aaffdf993230e7ddf69279f531b28c5557ffb
parent7641842164c34b672ef3e70e881e8a72735305c1
swiotlb: Add support for DMA_ATTR_SKIP_CPU_SYNC

As a first step to making DMA_ATTR_SKIP_CPU_SYNC apply to architectures
beyond just ARM I need to make it so that the swiotlb will respect the
flag.  In order to do that I also need to update the swiotlb-xen since it
heavily makes use of the functionality.

Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad@kernel.org>
drivers/xen/swiotlb-xen.c
include/linux/swiotlb.h
lib/swiotlb.c