On Fri, Apr 12, 2024 at 01:21:20AM -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. > > Signed-off-by: Yi Liu <yi.l.liu@xxxxxxxxx> > --- > 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@xxxxxxxxxx> Jason