commit | 060da5ca00816c900c1a6fd980c643df62cf3f31 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Mon Feb 14 09:44:32 2022 +0100 |
committer | Jianxiong Gao <jxgao@google.com> | Thu Mar 30 21:41:54 2023 +0000 |
tree | f0124e626cc5efa538a03daff8f9224572808c81 | |
parent | 88c5d5d58a4ab602e5855b2ba628e4c0ef9de7bb [diff] |
dma-direct: use is_swiotlb_active in dma_direct_map_page Use the more specific is_swiotlb_active check instead of checking the global swiotlb_force variable. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com> Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Tested-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>