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

2023-04-28 Thread Shameerali Kolothum Thodi
> -Original Message- > From: Jiang, Yanting [mailto:yanting.ji...@intel.com] > Sent: 28 April 2023 10:30 > To: Liu, Yi L ; alex.william...@redhat.com; > j...@nvidia.com; Tian, Kevin > Cc: j...@8bytes.org; robin.mur...@arm.com; coh...@redhat.com; > eric.au...@redhat.com; nicol...@nvidia.

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

2023-04-28 Thread Jiang, Yanting
> Subject: [PATCH v10 00/22] Add vfio_device cdev for iommufd support > > 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 t

[Intel-gfx] [PATCH v10 00/22] Add vfio_device cdev for iommufd support

2023-04-26 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