commit | 9afea57384d4ae7b2034593eac7fa76c7122762a | [log] [tgz] |
---|---|---|
author | Chunyan Zhang <chunyan.zhang@unisoc.com> | Fri Mar 31 11:31:23 2023 +0800 |
committer | Joerg Roedel <jroedel@suse.de> | Fri Mar 31 10:12:51 2023 +0200 |
tree | 5bd711826f720f3086f673599e47c7b690767d74 | |
parent | e8d018dd0257f744ca50a729e3d042cf2ec9da65 [diff] |
iommu/sprd: Release dma buffer to avoid memory leak When attaching to a domain, the driver would alloc a DMA buffer which is used to store address mapping table, and it need to be released when the IOMMU domain is freed. Signed-off-by: Chunyan Zhang <chunyan.zhang@unisoc.com> Link: https://lore.kernel.org/r/20230331033124.864691-2-zhang.lyra@gmail.com Signed-off-by: Joerg Roedel <jroedel@suse.de>