summaryrefslogtreecommitdiff
path: root/drivers/iommu/arm/arm-smmu/arm-smmu.c
diff options
context:
space:
mode:
authorChunyan Zhang <chunyan.zhang@unisoc.com>2023-03-31 06:31:23 +0300
committerJoerg Roedel <jroedel@suse.de>2023-03-31 11:12:51 +0300
commit9afea57384d4ae7b2034593eac7fa76c7122762a (patch)
tree5bd711826f720f3086f673599e47c7b690767d74 /drivers/iommu/arm/arm-smmu/arm-smmu.c
parente8d018dd0257f744ca50a729e3d042cf2ec9da65 (diff)
downloadlinux-9afea57384d4ae7b2034593eac7fa76c7122762a.tar.xz
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>
Diffstat (limited to 'drivers/iommu/arm/arm-smmu/arm-smmu.c')
0 files changed, 0 insertions, 0 deletions