]> git.ipfire.org Git - thirdparty/linux.git/commit
vfio: Export vfio device get and put registration helpers
authorVivek Kasireddy <vivek.kasireddy@intel.com>
Thu, 20 Nov 2025 09:28:26 +0000 (11:28 +0200)
committerAlex Williamson <alex@shazbot.org>
Thu, 20 Nov 2025 19:02:32 +0000 (12:02 -0700)
commit64a5dedcff801072154a806102d731ecdf0e7552
tree6b9c608723b565912f86e30cf267b02910b16bf8
parent3aa31a8bb11e47c0ff2b306988d1756b810c1c3c
vfio: Export vfio device get and put registration helpers

These helpers are useful for managing additional references taken
on the device from other associated VFIO modules.

Original-patch-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Vivek Kasireddy <vivek.kasireddy@intel.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Tested-by: Alex Mastro <amastro@fb.com>
Tested-by: Nicolin Chen <nicolinc@nvidia.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Acked-by: Ankit Agrawal <ankita@nvidia.com>
Link: https://lore.kernel.org/r/20251120-dmabuf-vfio-v9-7-d7f71607f371@nvidia.com
Signed-off-by: Alex Williamson <alex@shazbot.org>
drivers/vfio/vfio_main.c
include/linux/vfio.h