[RESEND PATCH V3 0/2] Add reattaching support and fix memory leak issue
Posted by
Chunyan Zhang
2 years, 10 months ago
From: Chunyan Zhang <chunyan.zhang@unisoc.com>
V3:
* Split into two patches;
* Added support reattching an existing domain;
* Release DMA buffer only when domain freed.
V2: https://lkml.org/lkml/2023/3/7/1717
* Added some comment in sprd_iommu_attach_device() for the reason
of calling sprd_iommu_cleanup().
V1: https://lkml.org/lkml/2023/2/10/198
Chunyan Zhang (2):
iommu: sprd: release dma buffer to avoid memory leak
iommu: sprd: Add support for reattaching an existing domain
drivers/iommu/sprd-iommu.c | 54 +++++++++++++++++++++++++++++---------
1 file changed, 41 insertions(+), 13 deletions(-)
--
2.25.1
Re: [RESEND PATCH V3 0/2] Add reattaching support and fix memory leak issue
Posted by
Joerg Roedel
2 years, 10 months ago
On Fri, Mar 31, 2023 at 11:31:22AM +0800, Chunyan Zhang wrote:
> Chunyan Zhang (2):
> iommu: sprd: release dma buffer to avoid memory leak
> iommu: sprd: Add support for reattaching an existing domain
Applied, thanks.