]> git.baikalelectronics.ru Git - kernel.git/commit
swiotlb-xen: use xen_dma_map/unmap_page, xen_dma_sync_single_for_cpu/device
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Fri, 25 Oct 2013 10:33:25 +0000 (10:33 +0000)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Fri, 25 Oct 2013 10:33:25 +0000 (10:33 +0000)
commit2dd66ec4e48d4277f2f7e1fe770b9b61ad702e50
tree7d3bad304a71b6d0c855d8caf3adb3d6bc03a6d6
parent7401757405a6b0d062419863cd7c87f1c288785f
swiotlb-xen: use xen_dma_map/unmap_page, xen_dma_sync_single_for_cpu/device

Call xen_dma_map_page, xen_dma_unmap_page, xen_dma_sync_single_for_cpu,
xen_dma_sync_single_for_device from swiotlb-xen to ensure cpu/device
coherency of the pages used for DMA, including the ones belonging to the
swiotlb buffer.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
drivers/xen/swiotlb-xen.c