swiotlb: Use is_swiotlb_force_bounce for swiotlb data bouncing
Propagate the swiotlb_force into io_tlb_default_mem->force_bounce and use it to determine whether to bounce the data or not. This will be useful later to allow for different pools. Signed-off-by:Claire Chang <tientzu@chromium.org> Reviewed-by:
Christoph Hellwig <hch@lst.de> Tested-by:
Stefano Stabellini <sstabellini@kernel.org> Tested-by:
Will Deacon <will@kernel.org> Acked-by:
Stefano Stabellini <sstabellini@kernel.org> Signed-off-by:
Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> [v2: Includes Will's fix]
Showing
Please register or sign in to comment