[RESEND PATCH V3 0/2] Add reattaching support and fix memory leak issue
From: Chunyan Zhang
Date: Thu Mar 30 2023 - 23:31:46 EST
From: Chunyan Zhang <chunyan.zhang@xxxxxxxxxx>
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