Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

+3
+3
kernel/dma/swiotlb.c
··· 369 369 unsigned long tbl_vaddr; 370 370 size_t tbl_size, slots_size; 371 371 372 + if (swiotlb_force == SWIOTLB_FORCE) 373 + return; 374 + 372 375 if (!mem->nslabs) 373 376 return; 374 377