summaryrefslogtreecommitdiffstats
path: root/drivers/virtio
diff options
context:
space:
mode:
authorJoerg Roedel2019-02-07 12:59:15 +0100
committerMichael S. Tsirkin2019-03-06 17:19:11 +0100
commit133d624b1cee16906134e92d5befb843b58bcf31 (patch)
treeb5d5d7d1ce51dca0a90402227028eee5ded9ba6b /drivers/virtio
parentswiotlb: Add is_swiotlb_active() function (diff)
downloadkernel-qcow2-linux-133d624b1cee16906134e92d5befb843b58bcf31.tar.gz
kernel-qcow2-linux-133d624b1cee16906134e92d5befb843b58bcf31.tar.xz
kernel-qcow2-linux-133d624b1cee16906134e92d5befb843b58bcf31.zip
dma: Introduce dma_max_mapping_size()
The function returns the maximum size that can be mapped using DMA-API functions. The patch also adds the implementation for direct DMA and a new dma_map_ops pointer so that other implementations can expose their limit. Cc: stable@vger.kernel.org Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Joerg Roedel <jroedel@suse.de> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/virtio')
0 files changed, 0 insertions, 0 deletions