]> www.infradead.org Git - users/hch/block.git/commit
iommu/dma: don't align in iommu_dma_free_iova
authorChristoph Hellwig <hch@lst.de>
Sat, 5 Oct 2024 09:00:08 +0000 (11:00 +0200)
committerChristoph Hellwig <hch@lst.de>
Sat, 5 Oct 2024 16:14:16 +0000 (18:14 +0200)
commit71f2d603448ed20589f232818c5b805903e7b92e
treeea68ba567ef68286d28c75e5a95a2ad5177cdb9e
parentd2b87be0fe340bd4e7635a608ad84f73b6de889c
iommu/dma: don't align in iommu_dma_free_iova

state->addr and state->size cover the entire iova range, there is no
need to align them.

Also don't bother with the gather structure when it's not used for
anything.

Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/iommu/dma-iommu.c