Re: [Intel-gfx] [PATCH v3 00/15] Add vfio_device cdev for iommufd support

2023-02-15 Thread Liu, Yi L
> From: Alex Williamson > Sent: Thursday, February 16, 2023 4:09 AM > > On Wed, 15 Feb 2023 07:54:31 + > "Liu, Yi L" wrote: > > > > From: Alex Williamson > > > Sent: Tuesday, February 14, 2023 11:47 PM > > > > > > On Tue, 14 Feb 2023 01:55:17 + > > > "Liu, Yi L" wrote: > > > > > > > >

Re: [Intel-gfx] [PATCH v3 00/15] Add vfio_device cdev for iommufd support

2023-02-15 Thread Alex Williamson
On Wed, 15 Feb 2023 07:54:31 + "Liu, Yi L" wrote: > > From: Alex Williamson > > Sent: Tuesday, February 14, 2023 11:47 PM > > > > On Tue, 14 Feb 2023 01:55:17 + > > "Liu, Yi L" wrote: > > > > > > From: Alex Williamson > > > > Sent: Tuesday, February 14, 2023 3:47 AM > > > > > > > >

Re: [Intel-gfx] [PATCH v3 00/15] Add vfio_device cdev for iommufd support

2023-02-14 Thread Liu, Yi L
> From: Alex Williamson > Sent: Tuesday, February 14, 2023 11:47 PM > > On Tue, 14 Feb 2023 01:55:17 + > "Liu, Yi L" wrote: > > > > From: Alex Williamson > > > Sent: Tuesday, February 14, 2023 3:47 AM > > > > > > On Mon, 13 Feb 2023 07:13:33 -0800 > > > Yi Liu wrote: > > > > > > > Existin

Re: [Intel-gfx] [PATCH v3 00/15] Add vfio_device cdev for iommufd support

2023-02-14 Thread Jason Gunthorpe
On Tue, Feb 14, 2023 at 08:54:19AM -0700, Alex Williamson wrote: > On Tue, 14 Feb 2023 15:15:28 + > "Liu, Yi L" wrote: > > > > From: Jason Gunthorpe > > > Sent: Tuesday, February 14, 2023 7:22 AM > > > > > > On Mon, Feb 13, 2023 at 12:47:19PM -0700, Alex Williamson wrote: > > > > > > > I

Re: [Intel-gfx] [PATCH v3 00/15] Add vfio_device cdev for iommufd support

2023-02-14 Thread Alex Williamson
On Tue, 14 Feb 2023 15:15:28 + "Liu, Yi L" wrote: > > From: Jason Gunthorpe > > Sent: Tuesday, February 14, 2023 7:22 AM > > > > On Mon, Feb 13, 2023 at 12:47:19PM -0700, Alex Williamson wrote: > > > > > I think it's too late for v6.3 already, but given this needs at least > > > one more

Re: [Intel-gfx] [PATCH v3 00/15] Add vfio_device cdev for iommufd support

2023-02-14 Thread Alex Williamson
On Tue, 14 Feb 2023 01:55:17 + "Liu, Yi L" wrote: > > From: Alex Williamson > > Sent: Tuesday, February 14, 2023 3:47 AM > > > > On Mon, 13 Feb 2023 07:13:33 -0800 > > Yi Liu wrote: > > > > > Existing VFIO provides group-centric user APIs for userspace. Userspace > > > opens the /dev/vf

Re: [Intel-gfx] [PATCH v3 00/15] Add vfio_device cdev for iommufd support

2023-02-14 Thread Liu, Yi L
> From: Jason Gunthorpe > Sent: Tuesday, February 14, 2023 7:22 AM > > On Mon, Feb 13, 2023 at 12:47:19PM -0700, Alex Williamson wrote: > > > I think it's too late for v6.3 already, but given this needs at least > > one more spin, let's set expectations of this being v6.4 material. Thanks, > >

Re: [Intel-gfx] [PATCH v3 00/15] Add vfio_device cdev for iommufd support

2023-02-13 Thread Liu, Yi L
> From: Alex Williamson > Sent: Tuesday, February 14, 2023 3:47 AM > > On Mon, 13 Feb 2023 07:13:33 -0800 > Yi Liu wrote: > > > Existing VFIO provides group-centric user APIs for userspace. Userspace > > opens the /dev/vfio/$group_id first before getting device fd and hence > > getting access t

Re: [Intel-gfx] [PATCH v3 00/15] Add vfio_device cdev for iommufd support

2023-02-13 Thread Jason Gunthorpe
On Mon, Feb 13, 2023 at 12:47:19PM -0700, Alex Williamson wrote: > I think it's too late for v6.3 already, but given this needs at least > one more spin, let's set expectations of this being v6.4 material. Thanks, Please let's continue to try to get this finished during the merge window, all the

Re: [Intel-gfx] [PATCH v3 00/15] Add vfio_device cdev for iommufd support

2023-02-13 Thread Alex Williamson
On Mon, 13 Feb 2023 07:13:33 -0800 Yi Liu wrote: > Existing VFIO provides group-centric user APIs for userspace. Userspace > opens the /dev/vfio/$group_id first before getting device fd and hence > getting access to device. This is not the desired model for iommufd. Per > the conclusion of commun

[Intel-gfx] [PATCH v3 00/15] Add vfio_device cdev for iommufd support

2023-02-13 Thread Yi Liu
Existing VFIO provides group-centric user APIs for userspace. Userspace opens the /dev/vfio/$group_id first before getting device fd and hence getting access to device. This is not the desired model for iommufd. Per the conclusion of community discussion[1], iommufd provides device-centric kAPIs an