Re: [PATCH v9 11/14] swiotlb: Add restricted DMA alloc/free support.

2021-06-13 Thread Christoph Hellwig
On Mon, Jun 14, 2021 at 08:28:01AM +0200, Christoph Hellwig wrote: > I think merging this with the next two patches would be a little more > clear. Sorry, I mean the next patch and the previous one. ___ iommu mailing list iommu@lists.linux-foundation.org

Re: [PATCH v9 11/14] swiotlb: Add restricted DMA alloc/free support.

2021-06-13 Thread Christoph Hellwig
I think merging this with the next two patches would be a little more clear. ___ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu

[PATCH v9 11/14] swiotlb: Add restricted DMA alloc/free support.

2021-06-11 Thread Claire Chang
Add the functions, swiotlb_{alloc,free} to support the memory allocation from restricted DMA pool. Signed-off-by: Claire Chang --- include/linux/swiotlb.h | 15 +++ kernel/dma/swiotlb.c| 35 +-- 2 files changed, 48 insertions(+), 2 deletions(-) di