swiotlb: make swiotlb_exit a no-op if SWIOTLB_FORCE is set
authorChristoph Hellwig <hch@lst.de>
Mon, 14 Feb 2022 09:01:26 +0000 (10:01 +0100)
committerChristoph Hellwig <hch@lst.de>
Mon, 18 Apr 2022 05:21:08 +0000 (07:21 +0200)
commit3469d36d470df148e8d940c1a6399510562bf3b0
tree2c8569f3775c420f5f81a28e57ae43b3a2552fd9
parent07410559f38360885e91cff1b800168681ac515c
swiotlb: make swiotlb_exit a no-op if SWIOTLB_FORCE is set

If force bouncing is enabled we can't release the buffers.

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>
kernel/dma/swiotlb.c