]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
vfio/type1: move iova increment to unmap_unpin_*() caller
authorAlex Mastro <amastro@fb.com>
Tue, 28 Oct 2025 16:15:01 +0000 (09:15 -0700)
committerAlex Williamson <alex@shazbot.org>
Tue, 28 Oct 2025 21:54:41 +0000 (15:54 -0600)
commit1196f1f897d4ee64d8844e8cfa97c8f93e4d158c
tree9c409a944f0fa493fa98d4164b666f9f49ef4224
parent6012379ede6aa7477db6276bb9876fe7d67c4312
vfio/type1: move iova increment to unmap_unpin_*() caller

Move incrementing iova to the caller of these functions as part of
preparing to handle end of address space map/unmap.

Tested-by: Alejandro Jimenez <alejandro.j.jimenez@oracle.com>
Fixes: 73fa0d10d077 ("vfio: Type1 IOMMU implementation")
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Alejandro Jimenez <alejandro.j.jimenez@oracle.com>
Signed-off-by: Alex Mastro <amastro@fb.com>
Link: https://lore.kernel.org/r/20251028-fix-unmap-v6-2-2542b96bcc8e@fb.com
Signed-off-by: Alex Williamson <alex@shazbot.org>
drivers/vfio/vfio_iommu_type1.c