swiotlb: split swiotlb_tbl_sync_single
authorChristoph Hellwig <hch@lst.de>
Mon, 1 Mar 2021 07:44:26 +0000 (08:44 +0100)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 17 Mar 2021 00:32:01 +0000 (00:32 +0000)
commit80808d273a3f075196d1a26463f65d4c9d2891c8
tree3a0e72aa6d3a55bbe25534cfe14f695fdee2938c
parent2bdba622c351259317b0294c6e9fe243b2404316
swiotlb: split swiotlb_tbl_sync_single

Split swiotlb_tbl_sync_single into two separate funtions for the to device
and to cpu synchronization.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/iommu/dma-iommu.c
drivers/xen/swiotlb-xen.c
include/linux/swiotlb.h
kernel/dma/direct.c
kernel/dma/direct.h
kernel/dma/swiotlb.c