]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9493c9f7bece5f5e6f0c046c69626c44c5e6aa57
tree2c8569f3775c420f5f81a28e57ae43b3a2552fd9
parent44c5689bbda807982b97e1f30f9849a2fb6ac9cf
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