]> git.baikalelectronics.ru Git - kernel.git/commit
swiotlb: Refactor swiotlb_create_debugfs
authorClaire Chang <tientzu@chromium.org>
Sat, 19 Jun 2021 03:40:33 +0000 (11:40 +0800)
committerKonrad Rzeszutek Wilk <konrad@kernel.org>
Wed, 14 Jul 2021 00:04:35 +0000 (20:04 -0400)
commit780867382af674616ef2dea525bc6b60170183db
tree5b389d2ff6936bd2b4587ff600e67280207675c7
parent81bfc1608513dd882acc3144d3c44464524956b9
swiotlb: Refactor swiotlb_create_debugfs

Split the debugfs creation to make the code reusable for supporting
different bounce buffer pools.

Signed-off-by: Claire Chang <tientzu@chromium.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Tested-by: Stefano Stabellini <sstabellini@kernel.org>
Tested-by: Will Deacon <will@kernel.org>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
kernel/dma/swiotlb.c