Skip to content

Add reattaching support and fix memory leak issue

Chunyan Zhang linux-iommu lkml 1 version Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest2 patches 1 replyApplied

Changes in v3 from the cover letter

* Split into two patches;
* Added support reattching an existing domain;
* Release DMA buffer only when domain freed.

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/2iommu: sprd: release dma buffer to avoid memory leakdrivers/iommu/sprd-iommu.c+22 -70 replies
2/2iommu: sprd: Add support for reattaching an existing domaindrivers/iommu/sprd-iommu.c+19 -60 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [RESEND PATCH V3 0/2] Add reattaching support and fix memory leak issue

From: Chunyan Zhang <[email protected]>

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(-)
Signature · 1 line
2.25.1