]> 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)
commit148532ddae55fdf30608365247d9aebe6e66f78b
tree2c8569f3775c420f5f81a28e57ae43b3a2552fd9
parent3cfc2ace09a5ac05c618467ac976778f6d5fd336
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