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: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>
Showing
Please register or sign in to comment