Skip to content
Commit abe420bf authored by Joerg Roedel's avatar Joerg Roedel Committed by Michael S. Tsirkin
Browse files

swiotlb: Introduce swiotlb_max_mapping_size()



The function returns the maximum size that can be remapped
by the SWIOTLB implementation. This function will be later
exposed to users through the DMA-API.

Cc: stable@vger.kernel.org
Reviewed-by: default avatarKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
parent 1c163f4c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment