On Thu, Sep 12, 2024 at 06:17:28AM -0700, Yi Liu wrote:
This adds ioctls for the userspace to attach/detach a given pasid of a vfio device to/from an IOAS/HWPT.
Reviewed-by: Jason Gunthorpe jgg@nvidia.com Signed-off-by: Yi Liu yi.l.liu@intel.com
drivers/vfio/device_cdev.c | 51 +++++++++++++++++++++++++++++++++++ drivers/vfio/vfio.h | 4 +++ drivers/vfio/vfio_main.c | 8 ++++++ include/uapi/linux/vfio.h | 55 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 118 insertions(+)
Reviewed-by: Jason Gunthorpe jgg@nvidia.com
Jason