public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [RESEND PATCH V3 0/2] Add reattaching support and fix memory leak issue
@ 2023-03-31  3:31 Chunyan Zhang
  2023-03-31  3:31 ` [RESEND PATCH V3 1/2] iommu: sprd: release dma buffer to avoid memory leak Chunyan Zhang
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Chunyan Zhang @ 2023-03-31  3:31 UTC (permalink / raw)
  To: Joerg Roedel, Will Deacon, Robin Murphy
  Cc: iommu, Baolin Wang, Orson Zhai, Chunyan Zhang, Chunyan Zhang,
	LKML

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-03-31  8:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-31  3:31 [RESEND PATCH V3 0/2] Add reattaching support and fix memory leak issue Chunyan Zhang
2023-03-31  3:31 ` [RESEND PATCH V3 1/2] iommu: sprd: release dma buffer to avoid memory leak Chunyan Zhang
2023-03-31  3:31 ` [RESEND PATCH V3 2/2] iommu: sprd: Add support for reattaching an existing domain Chunyan Zhang
2023-03-31  8:15 ` [RESEND PATCH V3 0/2] Add reattaching support and fix memory leak issue Joerg Roedel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox