]> www.infradead.org Git - users/hch/block.git/commit
dma-mapping: add a dma_unlink_and_free_iova API
authorChristoph Hellwig <hch@lst.de>
Sat, 5 Oct 2024 09:21:12 +0000 (11:21 +0200)
committerChristoph Hellwig <hch@lst.de>
Sat, 5 Oct 2024 17:18:08 +0000 (19:18 +0200)
commitd86a03930160ddad48801a97253b62b277c13f4d
tree5eb16eb75fdae9688d3536c9fb6acfcc717a8d4b
parentcd97d3f28515eb813c507ad305775cab6bd6e979
dma-mapping: add a dma_unlink_and_free_iova API

This combines the unmapping and freeing of the IOVA so that the
father structured and queued mode can be used for the common case.

Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/iommu/dma-iommu.c
drivers/vfio/pci/mlx5/cmd.c
include/linux/dma-mapping.h
include/linux/iommu-dma.h
kernel/dma/mapping.c