]> git.baikalelectronics.ru Git - kernel.git/commit
swiotlb-xen: call xen_dma_sync_single_for_device when appropriate
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Fri, 21 Nov 2014 16:55:12 +0000 (16:55 +0000)
committerDavid Vrabel <david.vrabel@citrix.com>
Thu, 4 Dec 2014 12:41:56 +0000 (12:41 +0000)
commit9dd3b16d261113126953b044c185daf9a00f309c
tree502e3ae4773a8986fdd8eef4ddcbabafe6dd69be
parent120b5e2770ae68662e6f4414c02c08eb8b18beeb
swiotlb-xen: call xen_dma_sync_single_for_device when appropriate

In xen_swiotlb_sync_single we always call xen_dma_sync_single_for_cpu,
even when we should call xen_dma_sync_single_for_device. Fix that.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
CC: stable@vger.kernel.org
drivers/xen/swiotlb-xen.c