On Fri, Jun 02, 2023 at 05:16:42AM -0700, Yi Liu wrote: > This prepares for adding DETACH ioctl for physical VFIO devices. > > Reviewed-by: Kevin Tian <kevin.tian@xxxxxxxxx> > Tested-by: Terrence Xu <terrence.xu@xxxxxxxxx> > Tested-by: Nicolin Chen <nicolinc@xxxxxxxxxx> > Tested-by: Matthew Rosato <mjrosato@xxxxxxxxxxxxx> > Tested-by: Yanting Jiang <yanting.jiang@xxxxxxxxx> > Tested-by: Shameer Kolothum <shameerali.kolothum.thodi@xxxxxxxxxx> > Signed-off-by: Yi Liu <yi.l.liu@xxxxxxxxx> > --- > Documentation/driver-api/vfio.rst | 8 +++++--- > drivers/vfio/fsl-mc/vfio_fsl_mc.c | 1 + > drivers/vfio/iommufd.c | 20 +++++++++++++++++++ > .../vfio/pci/hisilicon/hisi_acc_vfio_pci.c | 2 ++ > drivers/vfio/pci/mlx5/main.c | 1 + > drivers/vfio/pci/vfio_pci.c | 1 + > drivers/vfio/platform/vfio_amba.c | 1 + > drivers/vfio/platform/vfio_platform.c | 1 + > drivers/vfio/vfio_main.c | 3 ++- > include/linux/vfio.h | 8 +++++++- > 10 files changed, 41 insertions(+), 5 deletions(-) Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx> Jason