Re: [Intel-gfx] [PATCH v5 18/19] vfio: Compile group optionally

2023-03-01 Thread Liu, Yi L
> From: Jason Gunthorpe > Sent: Tuesday, February 28, 2023 8:36 PM > > On Tue, Feb 28, 2023 at 06:00:09AM +, Liu, Yi L wrote: > > > From: Liu, Yi L > > > Sent: Monday, February 27, 2023 7:12 PM > > > > > > group code is not needed for vfio device cdev, so with vfio device cdev > > > introduc

Re: [Intel-gfx] [PATCH v5 18/19] vfio: Compile group optionally

2023-02-28 Thread Jason Gunthorpe
On Tue, Feb 28, 2023 at 06:00:09AM +, Liu, Yi L wrote: > > From: Liu, Yi L > > Sent: Monday, February 27, 2023 7:12 PM > > > > group code is not needed for vfio device cdev, so with vfio device cdev > > introduced, the group infrastructures can be compiled out if only cdev > > is needed. > >

Re: [Intel-gfx] [PATCH v5 18/19] vfio: Compile group optionally

2023-02-27 Thread Liu, Yi L
> From: Liu, Yi L > Sent: Monday, February 27, 2023 7:12 PM > > group code is not needed for vfio device cdev, so with vfio device cdev > introduced, the group infrastructures can be compiled out if only cdev > is needed. > > Signed-off-by: Yi Liu > --- > drivers/vfio/Kconfig | 14 + >

Re: [Intel-gfx] [PATCH v5 18/19] vfio: Compile group optionally

2023-02-27 Thread Liu, Yi L
> From: Jason Gunthorpe > Sent: Tuesday, February 28, 2023 3:20 AM > > On Mon, Feb 27, 2023 at 03:11:34AM -0800, Yi Liu wrote: > > > diff --git a/include/linux/vfio.h b/include/linux/vfio.h > > index ce390533cb30..d12384824656 100644 > > --- a/include/linux/vfio.h > > +++ b/include/linux/vfio.h

Re: [Intel-gfx] [PATCH v5 18/19] vfio: Compile group optionally

2023-02-27 Thread Jason Gunthorpe
On Mon, Feb 27, 2023 at 03:11:34AM -0800, Yi Liu wrote: > diff --git a/include/linux/vfio.h b/include/linux/vfio.h > index ce390533cb30..d12384824656 100644 > --- a/include/linux/vfio.h > +++ b/include/linux/vfio.h > @@ -43,7 +43,9 @@ struct vfio_device { >*/ > const struct vfio_migr

[Intel-gfx] [PATCH v5 18/19] vfio: Compile group optionally

2023-02-27 Thread Yi Liu
group code is not needed for vfio device cdev, so with vfio device cdev introduced, the group infrastructures can be compiled out if only cdev is needed. Signed-off-by: Yi Liu --- drivers/vfio/Kconfig | 14 + drivers/vfio/Makefile | 2 +- drivers/vfio/vfio.h | 72